/* ====== Gemeinsame Styles für den Insights-/Blog-Bereich ====== */
:root {
  --bg: #0c0e12; --bg-soft: #14171d; --surface: #181c23; --surface-2: #1f242d;
  --ink: #f4f6f8; --ink-soft: #a8b0bd; --ink-dim: #6b7480;
  --accent: #5b8cff; --accent-2: #00d68f; --line: #262b34;
  --radius: 18px; --maxw: 1120px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: 'Instrument Sans', system-ui, sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.7; font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Sora', sans-serif; font-weight: 700; line-height: 1.18; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(700px circle at 20% -5%, rgba(91,140,255,.12), transparent 55%),
    radial-gradient(600px circle at 95% 5%, rgba(0,214,143,.08), transparent 50%);
  animation: mb-aurora 14s ease-in-out infinite alternate;
}

/* Nav */
nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(12px); background: rgba(12,14,18,.72); border-bottom: 1px solid var(--line); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { font-family: 'Sora', sans-serif; font-size: 19px; font-weight: 700; letter-spacing: -0.03em; }
.logo b { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 26px; }
.nav-right a { font-size: 15px; color: var(--ink-soft); transition: color .2s; }
.nav-right a:hover { color: var(--ink); }
.nav-cta { background: var(--accent); color: #fff !important; padding: 10px 20px; border-radius: 100px; font-weight: 600; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(91,140,255,.35); }
@media (max-width: 640px) { .nav-right a:not(.nav-cta) { display: none; } }

/* Buttons */
.btn-primary { display: inline-block; background: var(--accent); color: #fff; padding: 15px 30px; border-radius: 100px; font-weight: 600; font-size: 16px; transition: transform .2s, box-shadow .2s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(91,140,255,.4); }
.btn-ghost { display: inline-block; padding: 14px 24px; border-radius: 100px; border: 1px solid var(--line); font-weight: 600; color: var(--ink); transition: border-color .2s, background .2s; }
.btn-ghost:hover { border-color: var(--ink-dim); background: var(--surface); }

/* Section base */
.section { position: relative; z-index: 1; padding: 72px 0; }
.tag { display: inline-block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 16px; font-family: 'Sora', sans-serif; background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent)); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: mb-shimmer 6s linear infinite; }

/* Blog index */
.blog-head { position: relative; z-index: 1; padding: 80px 0 20px; }
.blog-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 16px; }
.blog-head p { color: var(--ink-soft); max-width: 60ch; font-size: 1.1rem; }
.blog-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 22px; padding-bottom: 90px; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .25s, border-color .25s; }
.post-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.post-cat { font-family: 'Sora', sans-serif; font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.post-card h2 { font-size: 1.3rem; margin-bottom: 12px; }
.post-card p { color: var(--ink-soft); font-size: 15px; flex-grow: 1; }
.post-meta { margin-top: 18px; font-size: 13px; color: var(--ink-dim); }

/* Article */
.article { position: relative; z-index: 1; padding: 70px 0 40px; }
.article-inner { max-width: 760px; margin: 0 auto; }
.back-link { display: inline-block; font-size: 14px; color: var(--ink-soft); margin-bottom: 28px; }
.back-link:hover { color: var(--ink); }
.article h1 { font-size: clamp(2rem, 4.6vw, 3rem); margin: 8px 0 18px; }
.article-meta { font-size: 14px; color: var(--ink-dim); margin-bottom: 40px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.article-body > * { margin-bottom: 20px; }
.article-body h2 { font-size: 1.6rem; margin-top: 44px; margin-bottom: 14px; }
.article-body h3 { font-size: 1.25rem; margin-top: 28px; margin-bottom: 10px; }
.article-body p, .article-body li { color: var(--ink-soft); font-size: 1.05rem; }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--ink); font-weight: 600; }
.callout { background: linear-gradient(160deg, rgba(91,140,255,.12), var(--surface)); border: 1px solid rgba(91,140,255,.3); border-radius: 16px; padding: 22px 26px; }
.callout p { color: var(--ink); margin: 0; }

/* Author + CTA */
.author-box { max-width: 760px; margin: 50px auto 0; display: flex; gap: 18px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.author-box img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.author-box .who { font-family: 'Sora', sans-serif; font-weight: 700; }
.author-box .role { font-size: 14px; color: var(--ink-soft); }
.article-cta { max-width: 760px; margin: 30px auto 0; text-align: center; }

/* Related links + End-CTA */
.article-tail { max-width: 760px; margin: 36px auto 0; }
.related { margin-bottom: 30px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.related-label { display: block; font-family: 'Sora', sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-dim); margin-bottom: 10px; }
.related-link { display: inline-block; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 1.05rem; color: var(--accent); }
.related-link:hover { text-decoration: underline; }
.post-cta { background: linear-gradient(150deg, rgba(91,140,255,.18), rgba(0,214,143,.1)); border: 1px solid rgba(91,140,255,.3); border-radius: 24px; padding: clamp(30px, 5vw, 46px); text-align: center; }
.post-cta h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }
.post-cta p { color: var(--ink-soft); max-width: 48ch; margin: 0 auto 24px; }

/* ====== Hub-/Themenseiten ====== */
.hub-hero { position: relative; z-index: 1; padding: 84px 0 46px; text-align: center; }
.hub-hero .inner { max-width: 820px; margin: 0 auto; }
.hub-hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); margin: 10px 0 18px; }
.hub-hero h1 span { background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hub-hero .lede { color: var(--ink-soft); font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 60ch; margin: 0 auto 30px; }
.hub-section { position: relative; z-index: 1; padding: 46px 0; }
.hub-section.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hub-section h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); margin-bottom: 14px; text-align: center; }
.hub-section .sub { color: var(--ink-soft); text-align: center; max-width: 58ch; margin: 0 auto 38px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 15px; }
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-item:last-child { border-bottom: 0; }
.faq-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.faq-item p { color: var(--ink-soft); }
.hub-testi { max-width: 720px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.hub-testi .stars { color: #fbbc04; letter-spacing: 2px; margin-bottom: 12px; }
.hub-testi blockquote { font-size: 1.1rem; line-height: 1.6; color: var(--ink); margin-bottom: 14px; }
.hub-testi .who { font-weight: 600; font-size: 15px; }
.hub-testi .role { font-size: 13px; color: var(--ink-dim); }

/* Footer */
footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 40px 0; margin-top: 40px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
footer p { font-size: 14px; color: var(--ink-dim); }
.foot-links { display: flex; gap: 24px; font-size: 14px; }
.foot-links a { color: var(--ink-dim); }
.foot-links a:hover { color: var(--ink); }

/* ===== Wow (Unterseiten) ===== */
@keyframes mb-aurora { from { opacity: .8; } to { opacity: 1; } }
@keyframes mb-shimmer { to { background-position: 200% center; } }
@keyframes mb-fade-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hub-hero .inner > * { opacity: 0; animation: mb-fade-up .6s cubic-bezier(.2,.7,.2,1) both; }
.hub-hero .inner > *:nth-child(1) { animation-delay: .05s; }
.hub-hero .inner > *:nth-child(2) { animation-delay: .15s; }
.hub-hero .inner > *:nth-child(3) { animation-delay: .28s; }
.hub-hero .inner > *:nth-child(4) { animation-delay: .40s; }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; top: 0; left: -160%; width: 55%; height: 100%; transform: skewX(-20deg); background: linear-gradient(120deg, transparent, rgba(255,255,255,.30), transparent); transition: left .6s ease; pointer-events: none; }
.btn-primary:hover::after { left: 160%; }
.feature { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
a.feature { cursor: pointer; }
a.feature:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 16px 40px rgba(91,140,255,.14); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.feature-grid > *:nth-child(2) { transition-delay: .08s; }
.feature-grid > *:nth-child(3) { transition-delay: .16s; }
.feature-grid > *:nth-child(4) { transition-delay: .24s; }
.feature-grid > *:nth-child(5) { transition-delay: .32s; }
.feature-grid > *:nth-child(6) { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hub-hero .inner > * { opacity: 1 !important; transform: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  body::before { animation: none !important; }
}
