/* ==========================================================================
   Bogensportbedarf Pfeilkonfigurator – Landingpage
   Farbwelt abgeleitet vom BSB-Logo (Bordeaux #8e1f2e auf Dunkelgrau/Off-White)
   ========================================================================== */

:root {
    --red:        #8e1f2e;
    --red-dark:   #701524;
    --ink:        #141518;
    --ink-2:      #23262b;
    --paper:      #f7f6f3;
    --paper-2:    #efeeea;
    --muted:      #6a6e75;
    --line:       #e4e2dc;
    --radius:     6px;
    --wrap:       1180px;
    --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    font-size: 16.5px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.wrap-narrow { max-width: 820px; }

/* ---------- Typografie ---------- */
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.1rem; font-weight: 700; }

.kicker {
    font-size: .78rem; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; color: var(--red); margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.fine { font-size: .85rem; color: var(--muted); margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font: 600 .95rem/1 var(--font); letter-spacing: .02em;
    padding: 14px 26px; border-radius: var(--radius);
    text-decoration: none; border: 2px solid transparent; cursor: pointer;
    transition: background .25s, transform .25s, box-shadow .25s, border-color .25s;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(142,31,46,.3); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-lg { padding: 17px 32px; font-size: 1rem; }
.btn-xl { padding: 20px 44px; font-size: 1.1rem; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Header ---------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    transition: background .3s, box-shadow .3s;
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 78px; }
.brand img { height: 44px; width: auto; }
.site-header.scrolled { background: rgba(247,246,243,.94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }

.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a {
    color: #fff; text-decoration: none; font-size: .92rem; font-weight: 500;
    transition: color .2s;
}
.main-nav a:hover { color: #f3c9cf; }
.site-header.scrolled .main-nav a { color: var(--ink); }
.site-header.scrolled .main-nav a:hover { color: var(--red); }

.header-cta { margin-left: 12px; padding: 11px 20px; font-size: .88rem; }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px; margin-left: auto;
    background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; transition: .25s; }
.site-header.scrolled .nav-toggle span { background: var(--ink); }
.nav-open .nav-toggle span { background: var(--ink); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(10,10,12,.78) 0%, rgba(10,10,12,.45) 55%, rgba(10,10,12,.15) 100%);
}
.hero-inner { position: relative; padding-top: 78px; }
.hero-kicker { font-size: .8rem; font-weight: 700; letter-spacing: .22em; color: #f3c9cf; margin-bottom: 20px; }
.hero-title { font-size: clamp(2.4rem, 6.2vw, 4.6rem); text-transform: uppercase; letter-spacing: -0.01em; }
.hero-sub { margin: 26px 0 36px; font-size: 1.15rem; max-width: 560px; color: rgba(255,255,255,.85); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-scrollhint { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); }
.hero-scrollhint span {
    display: block; width: 22px; height: 36px; border: 2px solid rgba(255,255,255,.5);
    border-radius: 12px; position: relative;
}
.hero-scrollhint span::after {
    content: ''; position: absolute; top: 6px; left: 50%; width: 4px; height: 8px;
    background: #fff; border-radius: 2px; transform: translateX(-50%);
    animation: scrollhint 1.8s ease-in-out infinite;
}
@keyframes scrollhint { 0%,100% { transform: translate(-50%,0); opacity:1 } 60% { transform: translate(-50%,10px); opacity:.2 } }

/* ---------- Sektionen ---------- */
.section { padding: clamp(72px, 9vw, 130px) 0; }
.section-dark { background: var(--ink); color: #f1efec; }
.section-dark .lead, .section-dark p { color: #b9bcc2; }
.section-alt { background: var(--paper-2); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { margin-bottom: 16px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split-text > * + * { margin-top: 16px; }
.split-media { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }

.tick-list { list-style: none; }
.tick-list li { padding: 9px 0 9px 30px; position: relative; }
.tick-list li::before {
    content: ''; position: absolute; left: 0; top: 15px;
    width: 14px; height: 2px; background: var(--red);
}
.section-dark .tick-list li::before { background: #d98a96; }

/* ---------- S2 Pfeil-Figur ---------- */
.arrow-figure { margin: 20px 0 50px; }
.arrow-figure svg { width: 100%; height: auto; display: block; overflow: visible; }
.arrow-markers { display: flex; justify-content: space-between; position: relative; margin-top: 8px; }
.arrow-markers span {
    position: absolute; transform: translateX(-50%);
    font-size: .72rem; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: #9aa1ab;
}
.arrow-part { opacity: 0; transform: translateX(-18px); transition: opacity .6s, transform .6s; }
.in .arrow-part { opacity: 1; transform: none; }
.in .arrow-part:nth-child(1) { transition-delay: 0s;   }
.in .arrow-part:nth-child(2) { transition-delay: .15s; }
.in .arrow-part:nth-child(3) { transition-delay: .3s;  }
.in .arrow-part:nth-child(4) { transition-delay: .45s; }
.in .arrow-part:nth-child(5) { transition-delay: .6s;  }

.comp-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.comp-card {
    background: var(--ink-2); border: 1px solid #33373e; border-radius: var(--radius);
    padding: 22px 18px; transition: border-color .25s, transform .25s;
}
.comp-card:hover { border-color: var(--red); transform: translateY(-3px); }
.comp-card h3 { color: #fff; margin-bottom: 8px; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; }
.comp-card p  { font-size: .87rem; color: #a8adb5; }

/* ---------- S3 Kompatibilitäts-Diagramm ---------- */
.compat-figure svg { width: 100%; max-width: 520px; height: auto; margin: 0 auto; display: block; overflow: visible; }
.compat-figure .node rect { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.compat-figure .node:first-child rect { fill: var(--red); stroke: var(--red); }
.compat-figure .node text {
    font: 700 15px var(--font); fill: var(--ink); text-anchor: middle;
    dominant-baseline: middle;
}
.compat-figure .node:first-child text { fill: #fff; }
.compat-figure .link line {
    stroke: var(--red); stroke-width: 2; stroke-dasharray: 240; stroke-dashoffset: 240;
}
.in .link line { animation: draw .9s ease forwards; }
.in .l1 line { animation-delay: .1s; }
.in .l2 line { animation-delay: .25s; }
.in .l3 line { animation-delay: .4s; }
.in .l4 line { animation-delay: .55s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- S4 Galerie ---------- */
.gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; margin-bottom: 40px; }
.gallery figure { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/5; }
.gallery figure:first-child { aspect-ratio: 4/3.4; align-self: center; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.04); }

.choice-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
    padding: 12px 20px; border: 1px solid #3a3d44; border-radius: 999px;
    font-size: .9rem; font-weight: 600; color: #e7e5e1; transition: .25s;
}
.chip:hover { border-color: var(--red); color: #fff; background: rgba(142,31,46,.18); }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 16px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four  { grid-template-columns: repeat(4, 1fr); }

.feature-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 26px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(20,21,24,.08); border-color: #d8d5cd; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p  { font-size: .94rem; color: var(--muted); }
.feature-card .icon {
    width: 44px; height: 44px; border-radius: var(--radius);
    background: rgba(142,31,46,.09); color: var(--red);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; font-weight: 700; margin-bottom: 18px;
}

/* ---------- S6 Steps ---------- */
.steps {
    list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
    counter-reset: step;
}
.step {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px 22px; position: relative;
}
.step::after {
    content: ''; position: absolute; top: 44px; right: -14px; width: 14px;
    border-top: 2px dashed #c9c6bd;
}
.step:last-child::after { display: none; }
.step-num {
    display: block; font-size: 2.1rem; font-weight: 800; color: var(--red);
    letter-spacing: -0.03em; margin-bottom: 12px;
}
.step h3 { margin-bottom: 8px; font-size: 1rem; }
.step p  { font-size: .9rem; color: var(--muted); }

/* ---------- S9 CTA ---------- */
.cta { position: relative; padding: clamp(110px, 14vw, 190px) 0; color: #fff; text-align: center; }
.cta-media { position: absolute; inset: 0; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(rgba(14,14,16,.86), rgba(60,10,18,.82)); }
.cta-inner { position: relative; }
.cta h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); margin-bottom: 18px; }
.cta p { font-size: 1.15rem; color: rgba(255,255,255,.85); margin-bottom: 36px; }
.cta-sub { margin-top: 22px; font-size: .88rem; letter-spacing: .08em; color: rgba(255,255,255,.6); }

/* ---------- FAQ ---------- */
.faq-list details {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    margin-bottom: 10px; overflow: hidden;
}
.faq-list summary {
    padding: 20px 24px; font-weight: 600; cursor: pointer; list-style: none;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    transition: color .2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: '+'; font-size: 1.4rem; font-weight: 400; color: var(--red);
    transition: transform .25s; flex-shrink: 0;
}
.faq-list details[open] summary { color: var(--red); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 24px 20px; color: var(--muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #a8adb5; padding: 60px 0 0; }
.footer-inner {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
    padding-bottom: 44px; border-bottom: 1px solid #2c2f35;
}
.footer-brand img { height: 40px; width: auto; margin-bottom: 14px; background: #fff; padding: 6px 10px; border-radius: 4px; }
.footer-brand p { font-size: .9rem; color: #d6d3cd; }
.footer-nav, .footer-legal { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a, .footer-legal a { color: #a8adb5; text-decoration: none; font-size: .92rem; transition: color .2s; }
.footer-nav a:hover, .footer-legal a:hover { color: #fff; }
.footer-bottom { padding: 22px 0; font-size: .85rem; color: #6f737a; }

/* ---------- Reveal-Animationen ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.from-right { transform: translateX(34px); }
.reveal.from-left  { transform: translateX(-34px); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.reveal.d4 { transition-delay: .4s; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
    .card-grid.four { grid-template-columns: repeat(2, 1fr); }
    .comp-grid { grid-template-columns: repeat(3, 1fr); }
    .steps { grid-template-columns: repeat(3, 1fr); }
    .step::after { display: none; }
}

@media (max-width: 820px) {
    .header-inner { height: 66px; }
    .brand img { height: 36px; }
    .main-nav {
        position: fixed; inset: 66px 0 auto 0; flex-direction: column; gap: 0;
        background: var(--paper); box-shadow: 0 14px 30px rgba(0,0,0,.12);
        transform: translateY(-120%); transition: transform .3s ease; padding: 8px 0;
    }
    .nav-open .main-nav { transform: none; }
    .main-nav a { color: var(--ink); padding: 14px 24px; border-top: 1px solid var(--line); }
    .site-header.scrolled .main-nav a, .main-nav a { color: var(--ink); }
    .header-cta { display: none; }
    .nav-toggle { display: flex; }
    .site-header { background: rgba(247,246,243,.94); backdrop-filter: blur(10px); }
    .nav-toggle span { background: var(--ink); }

    .split { grid-template-columns: 1fr; }
    .split-media { order: -1; }
    .gallery { grid-template-columns: 1fr; }
    .gallery figure, .gallery figure:first-child { aspect-ratio: 16/10; }
    .card-grid.three, .card-grid.four { grid-template-columns: 1fr; }
    .comp-grid { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .hero { min-height: 88svh; }
    .hero-actions .btn { flex: 1; justify-content: center; }
}

@media (max-width: 480px) {
    .comp-grid { grid-template-columns: 1fr; }
    .btn-xl { width: 100%; justify-content: center; }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal, .reveal.from-right, .reveal.from-left, .arrow-part { opacity: 1 !important; transform: none !important; }
    .compat-figure .link line { stroke-dashoffset: 0 !important; }
}
