/* ═══════════════════════════════════════════════════════
   TellAFriend v4 — Apple Cinematic
   ═══════════════════════════════════════════════════════ */

/* ---------- CSS Variables ---------- */
:root {
    --black: #000;
    --white: #fff;
    --off-white: #f5f5f7;
    --navy: #1d1d1f;
    --gray-80: rgba(0,0,0,.8);
    --gray-48: rgba(0,0,0,.48);
    --gray-12: rgba(0,0,0,.12);
    --border: rgba(0,0,0,.08);
    --blue: #0071e3;
    --blue-bright: #2997ff;
    --card-shadow: rgba(0,0,0,.22) 3px 5px 30px 0px;
    --radius: 8px;
    --font: 'Source Sans 3', system-ui, -apple-system, sans-serif;
    --mono: 'Source Code Pro', ui-monospace, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--navy); background: var(--white); line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; }

/* ---------- Skip Link ---------- */
.skip-link { position: absolute; top: -100%; left: 16px; z-index: 10000; padding: 12px 24px; background: var(--blue); color: var(--white); font-weight: 600; font-size: 14px; border-radius: 0 0 var(--radius) var(--radius); transition: top .2s; }
.skip-link:focus { top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------- Layout ---------- */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 40px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font); font-size: 17px; font-weight: 400; cursor: pointer; border: none; text-decoration: none; transition: all .3s cubic-bezier(.22,1,.36,1); }
.btn-fill { padding: 10px 22px; background: var(--blue); color: var(--white); border-radius: 980px; }
.btn-fill:hover { background: #0077ed; transform: scale(1.02); box-shadow: 0 4px 20px rgba(0,113,227,.3); }
.btn-outline { padding: 10px 22px; background: transparent; color: var(--blue-bright); border: 1px solid var(--blue-bright); border-radius: 980px; }
.btn-outline:hover { background: var(--blue-bright); color: var(--black); }
.btn-sm { font-size: 14px; padding: 6px 16px; }
.btn-lg { font-size: 18px; padding: 12px 28px; }
.btn-ghost { padding: 10px 22px; background: transparent; color: var(--blue-bright); border: 1px solid rgba(41,119,255,.3); border-radius: 980px; }
.btn-ghost:hover { border-color: var(--blue-bright); }
.btn-primary { padding: 10px 22px; background: var(--blue); color: var(--white); border-radius: 980px; }

/* ---------- Page Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 9999; background: var(--black); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 24px; transition: opacity .7s, visibility .7s; }
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-text { color: var(--white); font-size: 14px; font-weight: 300; letter-spacing: 8px; text-transform: uppercase; opacity: 0; animation: fadeUp .8s .2s forwards; }
.loader-bar { width: 200px; height: 1px; background: rgba(255,255,255,.1); overflow: hidden; border-radius: 1px; }
.loader-bar::after { content: ''; display: block; width: 100%; height: 100%; background: var(--white); animation: barSlide 1.4s .5s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } from { opacity: 0; transform: translateY(8px); } }
@keyframes barSlide { 0% { transform: translateX(-100%); } 100% { transform: translateX(200%); } }

/* ═══════════ NAV (Glassmorphism) ═══════════ */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 52px; background: rgba(0,0,0,.8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); transition: background .3s; }
.header-inner { max-width: 1100px; margin: 0 auto; height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 40px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; background: var(--white); color: var(--black); font-size: 20px; font-weight: 700; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; }
.brand-name { font-size: 20px; font-weight: 600; color: var(--white); letter-spacing: -.3px; }
.brand-accent { color: var(--blue-bright); }
.brand-logo { height: 36px; width: auto; }
.site-nav .nav { display: flex; gap: 28px; align-items: center; }
.site-nav .nav a { font-size: 14px; font-weight: 400; color: var(--white); opacity: .8; transition: opacity .3s; letter-spacing: -.02em; }
.site-nav .nav a:hover { opacity: 1; }
.nav-cta { padding: 6px 16px !important; border: 1px solid rgba(255,255,255,.3) !important; border-radius: 980px !important; opacity: 1 !important; transition: all .3s !important; }
.nav-cta:hover { background: var(--white) !important; color: var(--black) !important; border-color: var(--white) !important; }
.nav-toggle, .nav-toggle-label { display: none; }

/* ═══════════ HOMEPAGE HERO ═══════════ */
.hero { position: relative; background: var(--black); color: var(--white); min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 120px 40px 80px; overflow: hidden; }
.hero::before { content: ''; position: absolute; width: 800px; height: 800px; border-radius: 50%; background: radial-gradient(circle, rgba(0,113,227,.06), transparent 70%); top: 30%; left: 50%; transform: translate(-50%,-50%); pointer-events: none; }
.hero-inner { text-align: center; position: relative; z-index: 1; }
.hero-kicker { font-size: 14px; font-weight: 400; color: var(--blue-bright); letter-spacing: -.02em; margin-bottom: 16px; }
.hero-title { font-size: clamp(40px, 6vw, 64px); font-weight: 600; line-height: 1.05; letter-spacing: -.03em; max-width: 800px; margin-bottom: 16px; }
.hero-title em { font-style: normal; color: var(--blue-bright); }
.hero-sub { font-size: 19px; font-weight: 300; line-height: 1.47; color: var(--gray-80); max-width: 560px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.mesh-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(120px); opacity: .08; animation: orbFloat 25s ease-in-out infinite; }
.o1 { width: 600px; height: 600px; background: var(--blue); top: -200px; right: -100px; }
.o2 { width: 400px; height: 400px; background: #7928ca; bottom: -100px; left: -50px; animation-delay: -10s; }
@keyframes orbFloat { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(40px,-30px) scale(1.08); } 66% { transform: translate(-20px,40px) scale(.95); } }
.grid-overlay { position: absolute; inset: 0; pointer-events: none; opacity: .03; background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px); background-size: 80px 80px; }
.scroll-cue { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.scroll-cue span { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.25); }
.scroll-cue-line { width: 1px; height: 32px; position: relative; overflow: hidden; background: rgba(255,255,255,.08); }
.scroll-cue-line::after { content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 50%; background: var(--white); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { to { top: 100%; } }

/* ═══════════ INNER PAGE HERO ═══════════ */
.hero-inner-page { background: var(--black); color: var(--white); padding: 100px 40px 60px; text-align: center; margin-top: 48px; }
.hero-inner-page .hero-title { max-width: 700px; margin: 0 auto 12px; }
.hero-inner-page .hero-sub { margin: 0 auto; }
.hero-inner-page .post-meta { color: rgba(255,255,255,.4); margin-bottom: 0; }

/* ═══════════ TRUST STRIP ═══════════ */
.trust-strip { padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--white); overflow: hidden; }
.track { display: flex; gap: 48px; animation: marquee 25s linear infinite; width: max-content; }
@keyframes marquee { to { transform: translateX(-50%); } }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 400; color: var(--gray-48); white-space: nowrap; }
.trust-item .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }

/* ═══════════ SECTION HELPERS ═══════════ */
.section-light { background: var(--off-white); padding: 100px 40px; }
.section-header { margin-bottom: 56px; }
.section-label { font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.section-title { font-size: clamp(28px, 3.5vw, 40px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 12px; color: var(--navy); }
.section-desc { font-size: 17px; font-weight: 300; line-height: 1.6; color: var(--gray-80); max-width: 520px; }

/* ═══════════ PRODUCT GRID ═══════════ */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.product-card { position: relative; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--card-shadow); transition: all .5s cubic-bezier(.22,1,.36,1); text-decoration: none; color: inherit; display: block; }
.product-card:hover { transform: translateY(-8px); box-shadow: 0 8px 40px rgba(0,0,0,.18); }
.product-card-img-wrap { aspect-ratio: 1; overflow: hidden; position: relative; background: var(--off-white); }
.product-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.product-card:hover .product-card-img { transform: scale(1.04); }
.product-card-img-wrap::after { content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent); transition: left .7s; pointer-events: none; }
.product-card:hover .product-card-img-wrap::after { left: 150%; }
.product-card-body { padding: 20px 24px 24px; }
.product-card-title { font-size: 20px; font-weight: 500; letter-spacing: -.2px; margin-bottom: 6px; }
.product-card-excerpt { font-size: 14px; line-height: 1.5; color: var(--gray-80); margin-bottom: 16px; }
.product-card-more { font-size: 14px; font-weight: 400; color: var(--blue); transition: gap .3s; display: inline-flex; align-items: center; gap: 4px; }
.product-card:hover .product-card-more { gap: 8px; }

/* ═══════════ CINEMATIC DARK (Features) ═══════════ */
.cinematic-dark { background: var(--black); color: var(--white); padding: 120px 40px; }
.cinematic-dark .section-title { color: var(--white); }
.cinematic-dark .section-desc { color: rgba(255,255,255,.35); }
.cinematic-dark .section-label { color: var(--blue-bright); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.06); border-radius: var(--radius); overflow: hidden; }
.feat-card { background: var(--black); padding: 40px 32px; transition: background .4s; }
.feat-card:hover { background: #0a0a0a; }
.feat-icon { width: 36px; height: 36px; margin-bottom: 24px; stroke: var(--blue-bright); fill: none; stroke-width: 1.5; }
.feat-title { font-size: 17px; font-weight: 500; color: var(--white); margin-bottom: 8px; letter-spacing: -.02em; }
.feat-desc { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.35); }

/* ═══════════ STATS ═══════════ */
.stats { padding: 80px 40px; background: var(--off-white); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; text-align: center; }
.stat-num { font-size: 40px; font-weight: 600; letter-spacing: -1px; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat-label { font-size: 13px; color: var(--gray-48); margin-top: 4px; }

/* ═══════════ POST GRID (Blog) ═══════════ */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.post-grid.home-posts { grid-template-columns: repeat(2, 1fr); }
.post-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--card-shadow); transition: all .5s cubic-bezier(.22,1,.36,1); }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 6px 30px rgba(0,0,0,.15); }
.post-card-link { display: block; text-decoration: none; color: inherit; }
.post-card-img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.post-card-body { padding: 20px 24px 24px; }
.post-card-date { font-size: 12px; color: var(--gray-48); font-family: var(--mono); display: block; margin-bottom: 8px; }
.post-card-title { font-size: 18px; font-weight: 500; letter-spacing: -.2px; line-height: 1.3; margin-bottom: 8px; }
.post-card-excerpt { font-size: 14px; line-height: 1.5; color: var(--gray-80); }

/* ═══════════ CTA ═══════════ */
.cta { background: var(--off-white); padding: 120px 40px; text-align: center; }
.cta h2 { font-size: clamp(36px, 4.5vw, 56px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 16px; }
.cta h2 em { font-style: normal; color: var(--blue); }
.cta p { font-size: 19px; color: var(--gray-80); margin-bottom: 32px; }

/* ═══════════ NEWSLETTER ═══════════ */
.newsletter-section { background: var(--black); color: var(--white); padding: 80px 40px; }
.newsletter-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; }
.newsletter-text h2 { font-size: 24px; font-weight: 500; margin-bottom: 8px; }
.newsletter-text p { font-size: 14px; color: rgba(255,255,255,.5); max-width: 360px; }
.newsletter-form { display: flex; gap: 12px; align-items: center; position: relative; }
.newsletter-form input { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 980px; padding: 10px 20px; color: var(--white); font-size: 15px; width: 280px; outline: none; transition: border-color .3s; }
.newsletter-form input::placeholder { color: rgba(255,255,255,.3); }
.newsletter-form input:focus { border-color: var(--blue-bright); }
.message-success, .message-error { display: none !important; position: absolute; bottom: -36px; left: 0; font-size: 13px; }
.message-success { color: #30d158; }
.message-error { color: #ff453a; }

/* ═══════════ FOOTER ═══════════ */
.site-footer { background: var(--black); color: rgba(255,255,255,.3); padding: 48px 40px 0; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; gap: 60px; }
.footer-brand p.footer-tagline { font-size: 13px; margin-top: 8px; max-width: 240px; line-height: 1.5; }
.footer-brand .brand-mark { background: var(--white); color: var(--black); width: 36px; height: 36px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.footer-brand .brand-logo { height: 36px; margin-bottom: 8px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.65); display: inline-flex; align-items: center; justify-content: center; transition: all .2s ease; }
.footer-social a:hover { background: #3060F0; border-color: #3060F0; color: var(--white); transform: translateY(-2px); }
.footer-cols { display: flex; gap: 60px; }
.footer-col h4 { font-size: 12px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,.3); transition: color .3s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { max-width: 1100px; margin: 32px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); text-align: center; }
.footer-legal { font-size: 12px; }

/* ═══════════ PRODUCT PAGE ═══════════ */
.product-full { padding-top: 48px; }
.breadcrumb { font-size: 13px; color: var(--gray-48); margin-bottom: 32px; }
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 8px; }

/* Shopify-style: Images left, Buy box right */
/* ── Product hero: Bild links (gross, Karte), Buybox rechts (Shop-Card) ── */
.product-top-grid { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 40px; margin-bottom: 56px; align-items: start; }
.product-top-images { display: grid; grid-template-columns: 1fr; gap: 12px; }
.product-top-images .kg-image-card { margin: 0; border-radius: 14px; overflow: hidden; background: var(--white); border: 1px solid #e8e8ed; box-shadow: 0 10px 32px rgba(50,50,93,.10), 0 2px 6px rgba(0,0,0,.04); }
.product-top-images .kg-image { width: 100% !important; }
.product-top-images .kg-image img { width: 100% !important; height: auto; object-fit: contain; aspect-ratio: 1; display: block; transition: transform .35s ease; }
.product-top-images .kg-image-card:hover img { transform: scale(1.03); }
.product-top-images .kg-image-card figcaption { display: none; }
.product-top-buy { position: sticky; top: 96px; }
.cta-box { background: var(--white); padding: 26px 26px 20px; border-radius: 14px; border: 1px solid #e8e8ed; box-shadow: 0 10px 32px rgba(50,50,93,.10), 0 2px 6px rgba(0,0,0,.04); margin-bottom: 16px; }
.cta-box .cta-price, .cta-box .product-price { font-size: 34px; font-weight: 700; letter-spacing: -.8px; color: var(--navy); line-height: 1.1; margin-bottom: 4px; }
.cta-box .cta-price small { display: block; font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--gray-48); margin-top: 4px; }
.stock-row { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: #1d9d5f; margin: 10px 0 2px; }
.stock-dot { width: 8px; height: 8px; border-radius: 50%; background: #1d9d5f; flex-shrink: 0; animation: stockPulse 2.2s infinite; }
@keyframes stockPulse { 0% { box-shadow: 0 0 0 0 rgba(29,157,95,.35); } 70% { box-shadow: 0 0 0 7px rgba(29,157,95,0); } 100% { box-shadow: 0 0 0 0 rgba(29,157,95,0); } }
.ship-list { list-style: none; margin: 14px 0 18px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ship-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--gray-48); line-height: 1.45; }
.ship-list li svg { flex-shrink: 0; margin-top: 1px; color: #1d9d5f; }
.cta-box .btn { background: #3060F0; color: var(--white); font-weight: 600; width: 100%; justify-content: center; padding: 15px 22px; font-size: 16px; letter-spacing: .2px; display: inline-flex; border-radius: 10px; margin: 0 0 10px; box-shadow: 0 6px 16px rgba(48,96,240,.28); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.cta-box .btn:hover { background: #2a55d9; color: var(--white); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(48,96,240,.36); }
.cta-box .cta-note { display: none; }
.buy-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 14px; padding-top: 16px; border-top: 1px solid #ececf1; }
.buy-badge { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; color: var(--gray-48); text-align: center; padding: 4px 2px; }
.buy-badge svg { color: #3060F0; }
.product-image-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.product-image-grid .kg-image-card { margin: 0; border-radius: 14px; overflow: hidden; background: var(--white); border: 1px solid #e8e8ed; }
.product-image-grid .kg-image { width: 100% !important; }
.product-image-grid .kg-image img { width: 100% !important; height: auto; object-fit: cover; aspect-ratio: 1; display: block; }
.product-image-grid .kg-image-card figcaption { display: none; }
/* Galerie im Content (4 Produktansichten) — 2x2 Karten-Grid */
.product-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 8px 0 36px; }
.post-content .product-gallery img, .product-body .product-gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; border: 1px solid #e8e8ed; background: var(--white); box-shadow: 0 6px 18px rgba(50,50,93,.08); transition: transform .25s ease, box-shadow .25s ease; display: block; margin: 0; }
.post-content .product-gallery img:hover, .product-body .product-gallery img:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(50,50,93,.14); }
/* Spec-Tabelle als Karte */
.product-body table { border-collapse: separate; border-spacing: 0; border: 1px solid #e8e8ed; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 18px rgba(50,50,93,.06); }
.cta-soldout { font-size: 14px; color: var(--gray-48); }

/* Remaining product images in content → 2-col grid (styled above via .product-image-grid) */
.product-body { max-width: 100%; margin-bottom: 60px; }

/* Related Articles */
.related-articles { margin-bottom: 48px; }
.related-heading { font-size: 20px; font-weight: 500; margin-bottom: 20px; }
.related-heading { font-size: 20px; font-weight: 500; margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.related-card { padding: 24px; border-radius: var(--radius); background: var(--off-white); transition: all .3s; text-decoration: none; color: inherit; display: block; }
.related-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow); }
.related-card h3 { font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.related-card p { font-size: 14px; line-height: 1.5; color: var(--gray-80); margin-bottom: 12px; }
.related-link { font-size: 14px; color: var(--blue); display: inline-flex; align-items: center; gap: 4px; }

/* Product Footer Trust Row */
.product-footer { margin-bottom: 40px; }
.trust-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; padding: 32px 0; border-top: 1px solid var(--border); }
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-icon-marker { width: 4px; height: 4px; border-radius: 50%; background: var(--blue); margin-top: 7px; flex-shrink: 0; }
.trust-item strong { font-size: 14px; font-weight: 500; display: block; margin-bottom: 2px; }
.trust-item small { font-size: 12px; color: var(--gray-48); line-height: 1.4; }
.soldout-banner { padding: 16px 20px; background: #fff3cd; border-radius: var(--radius); margin-bottom: 24px; font-size: 14px; }
.soldout-banner a { color: var(--blue); text-decoration: underline; }

/* ═══════════ BLOG POST ═══════════ */
.blog-post-wrap { padding-top: 48px; margin-bottom: 80px; }
.blog-post-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 60px; }
.blog-post-main { min-width: 0; max-width: 100%; overflow: visible; }
.post-content { min-width: 0; }
.post-header { margin-bottom: 24px; }
.post-meta { font-size: 14px; color: var(--gray-48); margin-bottom: 24px; }
.post-hero-img { width: 100%; border-radius: var(--radius); margin-bottom: 32px; box-shadow: var(--card-shadow); }
.post-content { font-size: 17px; line-height: 1.7; color: var(--navy); }
.post-content h1, .post-content h2, .post-content h3 { font-weight: 600; letter-spacing: -.02em; margin: 1.5em 0 .5em; }
.post-content h1 { font-size: 32px; }
.post-content h2 { font-size: 24px; }
.post-content h3 { font-size: 20px; }
.post-content p { margin-bottom: 1em; }
.post-content ul, .post-content ol { margin: 0 0 1em 1.5em; }
.post-content li { margin-bottom: .4em; }
.post-content blockquote { border-left: 3px solid var(--blue); padding: 4px 0 4px 20px; margin: 1.5em 0; color: var(--gray-80); font-style: italic; }
.post-content img { border-radius: var(--radius); margin: 1em 0; max-width: 100%; height: auto; }
.post-content pre { overflow-x: auto; max-width: 100%; }
.post-content a { color: var(--blue); text-decoration: underline; }
.post-content details { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; margin: 1em 0; }
.post-content summary { font-weight: 500; cursor: pointer; }
.post-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.post-content th, .post-content td { padding: 10px 14px; border: 1px solid var(--border); text-align: left; font-size: 15px; }
.post-content th { font-weight: 600; background: var(--off-white); }
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--border); }
.tag { font-size: 13px; padding: 4px 12px; background: var(--off-white); border-radius: 4px; color: var(--navy); transition: all .3s; }
.tag:hover { background: var(--blue); color: var(--white); }

/* ═══════════ SIDEBAR ═══════════ */
.blog-sidebar { align-self: start; position: sticky; top: 72px; max-height: calc(100vh - 96px); overflow-y: auto; }
.sidebar-heading { font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--gray-48); margin-bottom: 16px; }
.sidebar-product-card { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; transition: opacity .3s; }
.sidebar-product-card:hover { opacity: .7; }
.sidebar-product-card:last-child { border-bottom: none; }
.sidebar-product-img { width: 72px; height: 72px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.sidebar-product-title { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.sidebar-product-excerpt { font-size: 12px; line-height: 1.4; color: var(--gray-48); margin-bottom: 4px; }
.sidebar-product-link { font-size: 12px; color: var(--blue); }
.sidebar-newsletter-box { margin-top: 24px; padding: 20px; background: var(--off-white); border-radius: var(--radius); }
.sidebar-newsletter-text { font-size: 13px; line-height: 1.5; margin-bottom: 12px; }
.sidebar-newsletter-text strong { display: block; margin-bottom: 4px; }

/* ═══════════ CATEGORY GRID ═══════════ */
.category-section { margin: 48px 0; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.category-card { display: flex; flex-direction: column; padding: 24px; background: var(--off-white); border-radius: var(--radius); transition: all .3s; text-decoration: none; color: inherit; }
.category-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow); }
.category-card-name { font-size: 16px; font-weight: 500; margin-bottom: 4px; }
.category-card-count { font-size: 13px; color: var(--gray-48); }
.category-card-more { font-size: 13px; color: var(--blue); margin-top: auto; padding-top: 12px; }

/* ═══════════ ALL PRODUCTS SECTION ═══════════ */
.all-products-section { margin-top: 48px; }
.all-products-section .section-title { margin-bottom: 24px; }

/* ═══════════ CONTACT ═══════════ */
.kontakt-page { padding-top: 48px; margin-bottom: 40px; }
.contact-grid { display: grid; grid-template-columns: 1fr 320px; gap: 48px; margin-top: 40px; }
.contact-form .form-row { margin-bottom: 24px; }
.contact-form label { display: block; font-size: 13px; font-weight: 500; color: var(--gray-48); margin-bottom: 6px; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 10px 0; border: none; border-bottom: 1px solid var(--border); background: transparent; font-size: 16px; color: var(--navy); outline: none; transition: border-color .3s; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-bottom-color: var(--blue); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form select { cursor: pointer; }
.contact-success { display: none; color: #30d158; font-size: 14px; margin-top: 16px; }
.contact-error { display: none; color: #ff453a; font-size: 14px; margin-top: 16px; }
.contact-aside { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card { padding: 24px; background: var(--off-white); border-radius: var(--radius); }
.contact-info-card h3 { font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.contact-info-card p { font-size: 13px; line-height: 1.6; color: var(--gray-80); }
.blog-listing { padding-top: 48px; margin-bottom: 80px; }
.empty-hint { padding: 80px 0; text-align: center; color: var(--gray-48); font-size: 15px; }

/* ═══════════ TAG PAGE ═══════════ */
.tag-page { padding-top: 48px; }
.tag-header { margin-bottom: 40px; }
.tag-header .section-label { margin-bottom: 8px; }
.tag-header .post-title { margin-bottom: 8px; }

/* ═══════════ ERROR PAGE ═══════════ */
.error-page { background: var(--off-white); }
.error-content { padding: 160px 40px; text-align: center; max-width: 600px; margin: 0 auto; }
.error-content .hero-kicker { color: var(--blue); }
.error-content .hero-actions { display: flex; gap: 16px; justify-content: center; margin-top: 32px; }
/* ── Danke-Seite: 2-Spalten (Visual links, Punkte rechts) ── */
.danke-page { padding-top: 48px; padding-bottom: 88px; }
.danke-grid { display: grid; grid-template-columns: 400px minmax(0,1fr); gap: 44px; align-items: start; }
.danke-visual { position: sticky; top: 96px; background: linear-gradient(150deg, #1d1d1f 0%, #26324f 55%, #3060F0 130%); border-radius: 20px; padding: 52px 40px; display: flex; flex-direction: column; align-items: center; gap: 20px; overflow: hidden; box-shadow: 0 18px 48px rgba(29,29,31,.28); animation: dankeFloat 5.5s ease-in-out infinite; }
@keyframes dankeFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.danke-visual svg.danke-check { width: 190px; height: 190px; }
.danke-check .ring { stroke-dasharray: 290; stroke-dashoffset: 290; animation: ringDraw 0.9s ease-out 0.15s forwards; }
.danke-check .tick { stroke-dasharray: 80; stroke-dashoffset: 80; animation: ringDraw 0.55s ease-out 0.85s forwards; }
@keyframes ringDraw { to { stroke-dashoffset: 0; } }
.danke-check .halo { transform-origin: center; animation: haloPulse 2.6s ease-out 1.4s infinite; }
@keyframes haloPulse { 0% { transform: scale(0.85); opacity: .5; } 70% { transform: scale(1.25); opacity: 0; } 100% { transform: scale(1.25); opacity: 0; } }
.danke-visual .danke-visual-title { color: var(--white); font-size: 19px; font-weight: 600; letter-spacing: .2px; text-align: center; }
.danke-visual .danke-visual-sub { color: rgba(255,255,255,.72); font-size: 13.5px; text-align: center; line-height: 1.5; max-width: 260px; }
.confetti { position: absolute; width: 9px; height: 9px; border-radius: 2px; opacity: 0; animation: confettiFall 3.2s ease-in infinite; }
@keyframes confettiFall { 0% { transform: translateY(-30px) rotate(0deg); opacity: 0; } 12% { opacity: 1; } 78% { opacity: 1; } 100% { transform: translateY(340px) rotate(320deg); opacity: 0; } }
/* Rechte Spalte: Inhalt im Shop-Stil */
.danke-right .post-content > .thankyou-hero { display: flex; align-items: center; gap: 18px; background: linear-gradient(120deg, #f0faf5, #e8f7ef); border: 1px solid #cfeeda; border-radius: 14px; padding: 22px 24px; margin-bottom: 24px; }
.thankyou-hero .thankyou-check { flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%; background: #1d9d5f; color: var(--white); font-size: 26px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; animation: checkPop .5s cubic-bezier(.2,1.6,.4,1) 0.3s both, stockPulse 2.4s ease-out 1.2s infinite; }
@keyframes checkPop { from { transform: scale(0); } to { transform: scale(1); } }
.thankyou-hero h2 { font-size: 21px; font-weight: 700; letter-spacing: -.3px; color: var(--navy); margin-bottom: 4px; }
.thankyou-hero .thankyou-sub { font-size: 14px; color: var(--gray-48); }
.thankyou-cards { display: flex; flex-direction: column; gap: 14px; }
.thankyou-card { display: flex; align-items: flex-start; gap: 16px; background: var(--white); border: 1px solid #e8e8ed; border-radius: 14px; padding: 20px 22px; box-shadow: 0 6px 18px rgba(50,50,93,.05); transition: transform .2s ease, box-shadow .2s ease; }
.thankyou-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(50,50,93,.10); }
.thankyou-card-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: #f0f4ff; color: #3060F0; display: inline-flex; align-items: center; justify-content: center; }
.thankyou-card-icon svg { display: block; }
.thankyou-card h3 { font-size: 15.5px; font-weight: 600; color: var(--navy); margin-bottom: 4px; letter-spacing: -.1px; }
.thankyou-card p { font-size: 14px; color: var(--gray-48); line-height: 1.6; margin: 0; }
.thankyou-card p a { color: #3060F0; font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.thankyou-back { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.thankyou-back .btn { width: 100%; justify-content: center; text-align: center; background: #3060F0; color: var(--white); font-weight: 600; padding: 14px 26px; border-radius: 10px; display: inline-flex; align-items: center; box-shadow: 0 6px 16px rgba(48,96,240,.28); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.thankyou-back .btn:hover { background: #2a55d9; color: var(--white); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(48,96,240,.36); }
.thankyou-back .btn-ghost { background: transparent; color: var(--navy); border: 1px solid #d8d8de; box-shadow: none; }
.thankyou-back .btn-ghost:hover { background: var(--off-white); color: var(--navy); border-color: #c5c5cd; }

/* ═══════════ TESTIMONIALS ═══════════ */
.testimonials-section { padding: 100px 40px; background: var(--off-white); }
.testimonials-section .section-title { margin-bottom: 40px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { padding: 28px 24px; background: var(--white); border-radius: var(--radius); box-shadow: var(--card-shadow); }
.testimonial-stars { color: var(--navy); font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-card blockquote { font-size: 15px; line-height: 1.6; color: var(--navy); font-style: italic; border: none; padding: 0; margin: 0; }
.testimonial-card figcaption { font-size: 13px; color: var(--gray-48); margin-top: 12px; }

/* ═══════════ CAPTCHA WIDTH ═══════════ */
#cap-wrapper { width: 100%; margin-bottom: 24px; }
#cap-wrapper cap-widget { width: 100%; }

/* ═══════════ SCROLL REVEAL ═══════════ */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.rv.from-left { transform: translateX(-30px); }
.rv.from-right { transform: translateX(30px); }
.rv.visible { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .1s; }
.rv-d2 { transition-delay: .2s; }
.rv-d3 { transition-delay: .3s; }
.rv-d4 { transition-delay: .4s; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 768px) {
    .wrap { padding: 0 20px; }
    .hero { padding: 100px 20px 60px; }
    .hero-inner-page { padding: 80px 20px 40px; }
    .section-light, .cinematic-dark, .stats, .cta { padding: 60px 20px; }
    .product-top-grid, .product-grid, .post-grid, .feat-grid, .related-grid, .danke-grid { grid-template-columns: 1fr; }
    .danke-visual { position: static; padding: 36px 24px; }
    .danke-visual svg.danke-check { width: 140px; height: 140px; }
    .danke-page { padding-bottom: 56px; }
    .thankyou-back { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .blog-post-layout { grid-template-columns: minmax(0,1fr); }
    .blog-sidebar { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 32px; }
    .footer-cols { gap: 32px; }
    .newsletter-inner { flex-direction: column; text-align: center; }
    .newsletter-form input { width: 100%; }
    .cta-box { flex-direction: column; text-align: center; }
    .product-body .post-content > .kg-image-card { width: 100%; margin-right: 0; }
    .nav-toggle { display: none; }
    .site-nav .nav { display: none; }
    .nav-toggle-label { display: block; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 24px; height: 18px; cursor: pointer; z-index: 101; }
    .nav-toggle-label span { display: block; width: 100%; height: 1px; background: var(--white); position: relative; transition: background .3s; }
    .nav-toggle-label span::before, .nav-toggle-label span::after { content: ''; position: absolute; width: 100%; height: 1px; background: var(--white); left: 0; transition: transform .3s; }
    .nav-toggle-label span::before { top: -7px; }
    .nav-toggle-label span::after { top: 7px; }
    #nav-toggle:checked ~ .nav-toggle-label span { background: transparent; }
    #nav-toggle:checked ~ .nav-toggle-label span::before { transform: rotate(45deg) translate(5px, 5px); }
    #nav-toggle:checked ~ .nav-toggle-label span::after { transform: rotate(-45deg) translate(5px, -5px); }
    #nav-toggle:checked ~ .site-nav { display: flex; position: absolute; top: 48px; left: 0; right: 0; background: rgba(0,0,0,.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); flex-direction: column; padding: 24px 40px; gap: 20px; }
    #nav-toggle:checked ~ .site-nav .nav { display: flex; flex-direction: column; gap: 20px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 32px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .trust-row { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
}

/* ═══════════ KOENIG EDITOR ═══════════ */
.kg-width-wide { margin-left: -100px; margin-right: -100px; }
.kg-width-full { margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); }
.kg-width-full img { width: 100%; }
.kg-card { margin: 1.5em 0; }
.kg-image-card img, .kg-gallery-card img { border-radius: var(--radius); }

/* ═══════════ REDUCED MOTION ═══════════ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .rv { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}
