/* ── bauzit Landing – Schwarz/Weiss-Minimal mit dunkelrotem Akzent ── */
:root {
  --ink: #111827;
  --ink-soft: #4b5563;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-muted: #f7f7f8;
  --accent: #8a1a1a;
  --dark: #0f1115;
  --radius: 16px;
  --radius-lg: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul[role="list"] { list-style: none; }

.container { width: min(1120px, 92%); margin-inline: auto; }
.center { text-align: center; }

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
h3 { font-weight: 700; }

.kicker {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.75rem;
}
.kicker.center { display: block; text-align: center; }
.section-sub {
  color: var(--ink-soft); font-size: 1.05rem; max-width: 620px; margin-top: 1rem;
}
.center .section-sub, .section-sub.on-dark { margin-inline: auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: 42px; padding: 0 1.25rem; border-radius: 999px;
  font-size: 0.92rem; font-weight: 600; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; transition: all 0.18s ease;
}
.btn-lg { height: 50px; padding: 0 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; transform: translateY(-1px); }
.btn-outline { border-color: var(--line); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { color: var(--ink-soft); }
.btn-ghost:hover { color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f3f4f6; transform: translateY(-1px); }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 2rem; height: 64px; }
.brand img { height: 26px; width: auto; }
.main-nav { display: flex; gap: 1.5rem; margin-inline: auto; }
.main-nav a { font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); transition: color 0.15s; }
.main-nav a:hover { color: var(--ink); }
.header-actions { display: flex; gap: 0.5rem; align-items: center; }
.nav-toggle { display: none; }

/* ── Hero ── */
.hero { padding: 5rem 0 4rem; text-align: center; position: relative; overflow: hidden; }
.hero-blobs { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; animation: blob-drift 14s ease-in-out infinite alternate; }
.blob-1 { width: 480px; height: 480px; background: #fde8e4; top: -180px; left: 4%; }
.blob-2 { width: 420px; height: 420px; background: #e8ecf7; top: -120px; right: 6%; animation-delay: -5s; }
.blob-3 { width: 380px; height: 380px; background: #fdf3e0; top: 180px; left: 42%; animation-delay: -9s; }
@keyframes blob-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(40px, 24px, 0) scale(1.08); }
}

/* Trust-Bar */
.trust-bar {
  display: flex; align-items: center; justify-content: center; gap: 1.25rem; flex-wrap: wrap;
  margin-top: 1.75rem; font-size: 0.88rem; color: var(--ink-soft);
}
.trust-item { display: inline-flex; align-items: center; gap: 0.45rem; }
.trust-item strong { color: var(--ink); font-weight: 600; }
.stars { color: #f5a623; letter-spacing: 1px; font-size: 0.95rem; }
.trust-sep { width: 1px; height: 18px; background: var(--line); }

/* Reveal-on-Scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .blob { animation: none; }
}
.hero-badge {
  display: inline-block; font-size: 0.8rem; font-weight: 600;
  color: var(--accent); background: rgba(138, 26, 26, 0.07);
  border: 1px solid rgba(138, 26, 26, 0.18);
  padding: 0.3rem 0.9rem; border-radius: 999px; margin-bottom: 1.25rem;
}
.accent-underline { color: var(--accent); }
.hero-sub { color: var(--ink-soft); font-size: 1.12rem; max-width: 640px; margin: 1.25rem auto 0; }
.hero-cta { display: flex; gap: 0.75rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.hero-micro { color: var(--muted); font-size: 0.85rem; margin-top: 1rem; }

/* Browser-Frame + Dashboard-Mock */
.browser-frame {
  margin: 3.5rem auto 0; max-width: 920px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -24px rgba(17, 24, 39, 0.25);
  overflow: hidden; background: #fff; text-align: left;
}
.browser-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fafafa;
}
.browser-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #e5e7eb; }
.browser-bar .dot:nth-child(1) { background: #f87171; }
.browser-bar .dot:nth-child(2) { background: #fbbf24; }
.browser-bar .dot:nth-child(3) { background: #34d399; }
.browser-url {
  margin-inline: auto; font-size: 0.75rem; color: var(--muted);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 14px;
}
.browser-frame > img { width: 100%; height: auto; display: block; }
/* ── Sections ── */
.section { padding: 5.5rem 0; }
.section-muted { background: var(--bg-muted); }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 3rem; }
.feature {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem;
  background: #fff; transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.feature:hover { box-shadow: 0 16px 40px -20px rgba(17, 24, 39, 0.18); transform: translateY(-2px); }
.feature-icon { width: 44px; height: 44px; display: grid; place-content: center; background: rgba(138, 26, 26, 0.06); border: 1px solid rgba(138, 26, 26, 0.14); border-radius: 12px; margin-bottom: 1rem; }
.feature h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.feature p { color: var(--ink-soft); font-size: 0.95rem; }

/* Gewerke-Band (läuft automatisch nach rechts) */
.gewerke-section { overflow: hidden; }
.gewerke-marquee { position: relative; margin-top: 2.75rem; overflow: hidden; }
.gewerke-marquee::before,
.gewerke-marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.gewerke-marquee::before { left: 0; background: linear-gradient(to right, var(--bg-muted), transparent); }
.gewerke-marquee::after { right: 0; background: linear-gradient(to left, var(--bg-muted), transparent); }
.marquee-track {
  display: flex; gap: 1.1rem; width: max-content;
  animation: marquee-right 45s linear infinite;
}
.gewerke-marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
.gewerk-card {
  position: relative; width: 264px; aspect-ratio: 4 / 5;
  border-radius: var(--radius); overflow: hidden; flex-shrink: 0;
  box-shadow: 0 12px 32px -16px rgba(17, 24, 39, 0.25);
  margin: 0;
}
.gewerk-card img { width: 100%; height: 100%; object-fit: cover; }
.gewerk-card figcaption {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(6px);
  color: var(--ink); font-size: 0.82rem; font-weight: 700;
  padding: 0.35rem 0.85rem; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.12);
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* QR-Rechnung Split */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }
.check-list { margin: 1.75rem 0 2rem; }
.check-list li { padding: 0.55rem 0 0.55rem 2rem; position: relative; font-size: 0.97rem; color: var(--ink-soft); }
.check-list li strong { color: var(--ink); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0.5rem;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(138, 26, 26, 0.08); color: var(--accent);
  font-size: 0.72rem; font-weight: 800; display: grid; place-content: center;
}
.invoice-shot { display: flex; justify-content: center; }
.invoice-shot img {
  width: 100%; max-width: 440px; height: auto;
  border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 30px 70px -30px rgba(17, 24, 39, 0.35);
  transform: rotate(1.2deg);
  transition: transform 0.3s ease;
}
.invoice-shot img:hover { transform: rotate(0deg) scale(1.02); }

/* Vergleich */
.compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
  max-width: 860px; margin: 3rem auto 0;
}
.compare-col { border-radius: var(--radius-lg); padding: 2rem; }
.compare-col h3 { margin-bottom: 1.25rem; font-size: 1rem; }
.compare-col li { padding: 0.6rem 0 0.6rem 1.9rem; position: relative; font-size: 0.95rem; }
.compare-old { background: var(--bg-muted); color: var(--ink-soft); }
.compare-old li::before { content: "✕"; position: absolute; left: 0; color: #b91c1c; font-weight: 700; }
.compare-new { background: var(--ink); color: #f9fafb; }
.compare-new li::before { content: "✓"; position: absolute; left: 0; color: #34d399; font-weight: 700; }

/* Preise */
.price-card {
  max-width: 480px; margin: 3rem auto 0; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem; text-align: left;
  box-shadow: 0 24px 60px -30px rgba(17, 24, 39, 0.25);
  position: relative;
}
.price-card::before {
  content: "Alles inklusive";
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 700;
  padding: 0.25rem 0.9rem; border-radius: 999px; letter-spacing: 0.05em;
}
.price-label { font-weight: 700; text-align: center; color: var(--ink-soft); }
.price { text-align: center; font-size: 3.4rem; font-weight: 900; letter-spacing: -0.03em; margin: 0.5rem 0 1.5rem; }
.price .currency { font-size: 1.4rem; font-weight: 700; vertical-align: super; margin-right: 0.2rem; }
.price .per { font-size: 0.95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-features { margin-bottom: 1.75rem; }
.price-features li { padding: 0.5rem 0 0.5rem 1.9rem; position: relative; font-size: 0.95rem; border-bottom: 1px dashed var(--line); }
.price-features li:last-child { border-bottom: none; }
.price-features li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.price-micro { text-align: center; color: var(--muted); font-size: 0.82rem; margin-top: 0.9rem; }

/* ── Dark Section (CTA + FAQ) ── */
.dark-section { background: var(--dark); color: #f9fafb; padding: 5.5rem 0; }
.dark-section h2 { color: #fff; }
.section-sub.on-dark { color: #9ca3af; margin-bottom: 2rem; }
.faq-title { margin: 4.5rem 0 1.5rem; font-size: 1.3rem; color: #fff; }
.faq-list { max-width: 720px; margin-inline: auto; text-align: left; }
.faq-list details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.faq-list summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 0.25rem; font-weight: 600; font-size: 0.98rem; gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.3rem; font-weight: 400; color: #9ca3af; transition: transform 0.2s; flex-shrink: 0; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: #b6bcc6; font-size: 0.93rem; padding: 0 0.25rem 1.25rem; max-width: 660px; }

/* ── Footer ── */
.site-footer { background: var(--dark); color: #9ca3af; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; padding: 3.5rem 0 2.5rem;
}
.footer-brand p { font-size: 0.88rem; margin-top: 1rem; max-width: 260px; }
.footer-col h4 { color: #fff; font-size: 0.85rem; margin-bottom: 0.9rem; }
.footer-col a { display: block; font-size: 0.88rem; padding: 0.25rem 0; transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.25rem 0; font-size: 0.8rem; }

/* ── Responsive ── */
@media (max-width: 860px) {
  .main-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 0.5rem 4%;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.8rem 0; }
  .header-actions .btn-ghost { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; cursor: pointer;
  }
  .nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
  .feature-grid, .compare, .split { grid-template-columns: 1fr; }
  .split { gap: 2.5rem; }
  .mock { grid-template-columns: 1fr; }
  .mock-sidebar { display: none; }
  .mock-kpis { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .section { padding: 3.5rem 0; }
  .hero { padding: 3.5rem 0; }
}

/* ── SEO-Seiten: Artikel, Hub, Vergleiche ── */
.article { max-width: 780px; padding: 3rem 0 4rem; }
.article h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 1rem; }
.article .lead { font-size: 1.12rem; color: var(--ink-soft); margin-bottom: 2rem; }
.article h2 { font-size: 1.45rem; margin: 2.5rem 0 0.9rem; }
.article h3 { font-size: 1.05rem; margin: 1.5rem 0 0.4rem; }
.article p { margin-bottom: 1rem; color: #374151; }
.article ul, .article ol { margin: 0 0 1.25rem 1.3rem; color: #374151; }
.article li { margin-bottom: 0.5rem; }
.article a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.article a.btn { text-decoration: none; color: #fff; }

.breadcrumb { font-size: 0.82rem; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.bc-sep { margin: 0 0.15rem; }

.article-img { margin: 2rem 0; }
.article-img img { border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px -20px rgba(17,24,39,.2); }
.article-img-narrow img { max-width: 420px; margin-inline: auto; display: block; }
.article-img figcaption { font-size: 0.82rem; color: var(--muted); text-align: center; margin-top: 0.6rem; }

.need-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.25rem 0 0.5rem; }
.need { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; background: #fff; }
.need h3 { margin-top: 0; }
.need p { margin-bottom: 0; font-size: 0.93rem; }

.kurzfazit { background: rgba(138,26,26,.05); border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; padding: 1rem 1.25rem; margin: 1.5rem 0; color: #374151; }

.vs-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin: 1.25rem 0 2rem; }
.vs-table th, .vs-table td { border: 1px solid var(--line); padding: 0.7rem 0.85rem; text-align: left; vertical-align: top; }
.vs-table thead th { background: var(--bg-muted); font-size: 0.85rem; }
.vs-table thead th:last-child { background: rgba(138,26,26,.06); color: var(--accent); }
.vs-table tbody th { background: #fafafa; font-weight: 600; width: 26%; }
.vs-disclaimer { font-size: 0.8rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 1rem; margin-top: 2rem; }

.article-faq { margin-top: 2.5rem; }
.faq-light details { border-bottom: 1px solid var(--line); }
.faq-light summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0.25rem; font-weight: 600; font-size: 0.97rem; }
.faq-light summary::-webkit-details-marker { display: none; }
.faq-light summary::after { content: "+"; color: var(--muted); font-size: 1.2rem; }
.faq-light details[open] summary::after { content: "–"; }
.faq-light details p { color: var(--ink-soft); font-size: 0.93rem; padding: 0 0.25rem 1.1rem; }

.article-cta { background: var(--dark); color: #f9fafb; border-radius: var(--radius-lg); padding: 2.25rem; text-align: center; margin: 3rem 0; }
.article-cta h2 { margin-top: 0; color: #fff; }
.article-cta p { color: #9ca3af; max-width: 520px; margin: 0.75rem auto 1.5rem; }

.related { margin-top: 2.5rem; border-top: 1px solid var(--line); padding-top: 1.75rem; }
.related-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.related-links a { border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 1rem; font-size: 0.85rem; font-weight: 500; color: var(--ink-soft); text-decoration: none; transition: all .15s; }
.related-links a:hover { border-color: var(--accent); color: var(--accent); }

.hub { max-width: 1000px; }
.hub-sub { color: var(--muted); font-size: 0.95rem; margin-top: -0.4rem; }
.hub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.25rem 0 1rem; }
.hub-card { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; background: #fff; text-decoration: none !important; transition: box-shadow .2s, transform .2s; }
.hub-card:hover { box-shadow: 0 16px 40px -20px rgba(17,24,39,.18); transform: translateY(-2px); }
.hub-card h3 { margin: 0 0 0.4rem; color: var(--ink); }
.hub-card p { margin: 0; font-size: 0.88rem; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.footer-wide { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; }
.footer-made { font-size: 0.82rem; margin-top: 0.75rem; }
.footer-h4-gap { margin-top: 1.25rem; }

@media (max-width: 860px) {
  .need-grid, .hub-grid { grid-template-columns: 1fr; }
  .footer-wide { grid-template-columns: 1fr 1fr; }
  .vs-table { font-size: 0.82rem; }
  .vs-table th, .vs-table td { padding: 0.5rem; }
}
