/* =========================================================
   skylogs.de – Gemeinsames Stylesheet für SEO-Landingpages
   Wird von includes/seo_template.php eingebunden.
   Design orientiert sich an Startseite/Blog (Farbwelt skylogs).
   ========================================================= */

:root{
  --bg0:#f5f7ff;
  --bg1:#f7fbff;
  --text:#0b1220;
  --muted:rgba(11,18,32,.72);
  --muted2:rgba(11,18,32,.58);
  --line:rgba(11,18,32,.10);
  --a:#4a5568;
  --b:#718096;
  --accent:#1b7cff;
  --card:#ffffff;
  --shadow: 0 18px 50px rgba(11,18,32,.10);
  --shadow2: 0 10px 28px rgba(11,18,32,.08);
  --r:14px;
  --r2:22px;
  --max:1000px;
  --navH:76px;
  --focus:0 0 0 3px rgba(27,124,255,0.18);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", sans-serif;
  color:var(--text);
  background:
    radial-gradient(1100px 640px at 10% -8%, rgba(27,124,255,.10), transparent 55%),
    radial-gradient(900px 600px at 88% 0%, rgba(113,128,150,.12), transparent 55%),
    linear-gradient(180deg, var(--bg0) 0%, var(--bg1) 55%, var(--bg0) 100%);
  overflow-x:hidden;
  line-height:1.7;
  -webkit-text-size-adjust:100%;
}

a{ color:inherit; text-decoration:none; }
.wrap{ max-width:var(--max); margin:0 auto; padding:0 20px; }
:focus-visible{ outline:none; box-shadow: var(--focus); border-radius:12px; }
.skip-link{
  position:absolute; left:-9999px; top:0;
  background:#fff; padding:10px 14px; border-radius:0 0 12px 0;
  border:1px solid var(--line); z-index:100; font-weight:800;
}
.skip-link:focus{ left:0; }

/* ---------- Navigation ---------- */
.nav{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.78);
  backdrop-filter: blur(12px);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  height:var(--navH);
  display:flex; align-items:center; justify-content:space-between;
  gap:14px;
}
.brand{ display:flex; align-items:center; gap:12px; min-width:0; }
.brand img{ height:clamp(44px,4vw,62px); width:auto; max-width:min(52vw,380px); object-fit:contain; display:block; }
.nav-links{ display:flex; gap:4px; align-items:center; flex-wrap:wrap; }
.nav-links a{
  padding:8px 12px; border-radius:12px; font-weight:750; font-size:14.5px;
  color:var(--a);
}
.nav-links a:hover{ background:rgba(74,85,104,.08); color:var(--text); }
.nav-cta{ display:flex; gap:10px; align-items:center; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  padding:11px 16px;
  border-radius:14px;
  border:1px solid rgba(11,18,32,0.12);
  background:rgba(255,255,255,.9);
  font-weight:850; font-size:14px;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-1px); border-color:rgba(11,18,32,.18); box-shadow:0 10px 24px rgba(11,18,32,.08); }
.btn.primary{
  border-color:rgba(27,124,255,.45);
  background:linear-gradient(180deg, rgba(27,124,255,.16), rgba(27,124,255,.09));
  color:var(--text);
  box-shadow:0 14px 34px rgba(27,124,255,.22);
}
.btn.primary:hover{ border-color:rgba(27,124,255,.6); box-shadow:0 18px 44px rgba(27,124,255,.28); }
.btn.ghost{ background:transparent; box-shadow:none; }
.btn.small{ padding:9px 12px; border-radius:12px; font-size:13.5px; }

/* ---------- Hero ---------- */
.hero{ padding:44px 0 10px; text-align:center; }
.breadcrumb{
  display:flex; align-items:center; justify-content:center;
  gap:8px; margin-bottom:18px; font-size:13.5px; color:var(--muted2); flex-wrap:wrap;
}
.breadcrumb a{ color:var(--a); font-weight:750; }
.breadcrumb a:hover{ text-decoration:underline; }
.breadcrumb span[aria-current]{ color:var(--muted); font-weight:650; }
.breadcrumb .bc-sep{ font-size:10px; color:var(--muted2); }
.faq-qicon{ color:var(--accent); }
.hero h1{
  margin:0 auto 14px;
  font-size:clamp(27px, 3.4vw, 40px);
  letter-spacing:-0.5px;
  line-height:1.2;
  max-width:820px;
}
.hero .intro{
  margin:0 auto; max-width:760px; color:var(--muted); font-size:16.5px;
  text-align:left;
}

/* ---------- Content / Prose ---------- */
.prose{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--r2);
  box-shadow:var(--shadow2);
  padding:34px clamp(20px, 4.5vw, 48px);
  margin:26px 0;
}
.prose h2{
  font-size:clamp(21px, 2.3vw, 27px);
  margin:38px 0 14px;
  letter-spacing:-0.3px;
  line-height:1.3;
  scroll-margin-top:90px;
}
.prose h2:first-child{ margin-top:0; }
.prose h2::after{
  content:""; display:block; width:56px; height:4px; margin-top:10px;
  border-radius:99px;
  background:linear-gradient(90deg, var(--accent), rgba(27,124,255,.25));
}
.prose h3{
  font-size:clamp(17.5px, 1.7vw, 20px);
  margin:28px 0 10px;
  letter-spacing:-0.2px;
}
.prose p{ margin:0 0 16px; color:var(--muted); }
.prose p strong, .prose li strong{ color:var(--text); }
.prose ul, .prose ol{ margin:0 0 16px; padding-left:22px; color:var(--muted); }
.prose li{ margin:7px 0; }
.prose li::marker{ color:var(--accent); font-weight:800; }
.prose a{
  color:var(--accent); font-weight:700;
  text-decoration:underline;
  text-decoration-color:rgba(27,124,255,.35);
  text-underline-offset:3px;
}
.prose a:hover{ text-decoration-color:var(--accent); }

.prose table{
  width:100%; border-collapse:collapse; margin:18px 0 22px;
  font-size:14.5px;
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
}
.prose table caption{
  caption-side:top; text-align:left; font-weight:800; font-size:14px;
  color:var(--muted2); padding:0 0 8px;
}
.prose th, .prose td{
  text-align:left; padding:11px 14px; border-bottom:1px solid var(--line);
  vertical-align:top;
}
.prose th{ background:rgba(27,124,255,.06); font-weight:850; color:var(--text); white-space:nowrap; }
.prose td{ color:var(--muted); }
.prose tr:last-child td{ border-bottom:none; }

.box{
  border-radius:var(--r);
  padding:18px 20px;
  margin:20px 0;
  border:1px solid rgba(27,124,255,.25);
  background:linear-gradient(135deg, rgba(27,124,255,.08), rgba(27,124,255,.03));
}
.box i{ color:var(--accent); margin-right:10px; }
.box p{ margin:0; }
.box.wide{ border-color:rgba(234,179,8,.4); background:linear-gradient(135deg, rgba(234,179,8,.10), rgba(234,179,8,.04)); }
.box.wide i{ color:#b45309; }

/* ---------- CTA ---------- */
.cta{
  background:linear-gradient(135deg, rgba(27,124,255,.12), rgba(27,124,255,.04));
  border:1px solid rgba(27,124,255,.3);
  border-radius:var(--r2);
  padding:30px clamp(20px,4vw,40px);
  text-align:center;
  margin:30px 0;
}
.cta .kicker{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12.5px; font-weight:850; letter-spacing:.6px; text-transform:uppercase;
  color:var(--accent); margin-bottom:10px;
}
.cta h2{ margin:0 0 10px; font-size:clamp(20px,2.2vw,26px); letter-spacing:-0.3px; }
.cta p{ margin:0 auto 20px; max-width:640px; color:var(--muted); }

/* ---------- FAQ ---------- */
.faq{ margin:26px 0; }
.faq details{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--r);
  margin:10px 0;
  box-shadow:var(--shadow2);
  overflow:hidden;
}
.faq summary{
  cursor:pointer; list-style:none;
  padding:16px 20px;
  font-weight:850; font-size:15.5px;
  display:flex; align-items:center; gap:12px;
  color:var(--text);
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary .chev{
  margin-left:auto; color:var(--accent); transition:transform .15s ease; flex:0 0 auto;
}
.faq details[open] summary .chev{ transform:rotate(90deg); }
.faq summary:hover{ background:rgba(27,124,255,.04); }
.faq .faq-a{ padding:0 20px 18px; color:var(--muted); }
.faq .faq-a p{ margin:0 0 10px; }
.faq .faq-a p:last-child{ margin-bottom:0; }

/* ---------- Verwandte Themen / interne Links ---------- */
.related{
  margin:34px 0;
}
.related h2{
  font-size:clamp(19px,2vw,24px); margin:0 0 16px; letter-spacing:-0.3px;
}
.related-grid{
  display:grid; grid-template-columns:repeat(auto-fill, minmax(280px,1fr)); gap:16px;
}
.related-card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:18px 20px;
  box-shadow:var(--shadow2);
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  display:flex; flex-direction:column; gap:6px;
}
.related-card:hover{
  transform:translateY(-3px);
  border-color:rgba(27,124,255,.35);
  box-shadow:var(--shadow);
}
.related-card .rc-title{
  font-weight:850; font-size:15.5px; color:var(--text);
  display:flex; align-items:center; gap:9px;
}
.related-card .rc-title i{ color:var(--accent); flex:0 0 auto; }
.related-card .rc-desc{ font-size:13.5px; color:var(--muted2); }

/* ---------- Footer ---------- */
footer{
  border-top:1px solid var(--line);
  padding:24px 0 36px;
  color:var(--muted2);
  font-size:13.5px;
  background:rgba(255,255,255,.5);
  margin-top:44px;
}
.footer-row{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; flex-wrap:wrap;
}
.footer-links{ display:flex; gap:6px 14px; flex-wrap:wrap; }
.footer-links a{
  color:var(--muted2); padding:6px 10px; border-radius:12px;
  border:1px solid transparent;
}
.footer-links a:hover{
  color:var(--text); border-color:rgba(11,18,32,.08); background:rgba(11,18,32,.03);
}
.footer-seo{
  margin-top:14px; padding-top:14px; border-top:1px solid var(--line);
  display:flex; gap:6px 14px; flex-wrap:wrap; font-size:13px;
}
.footer-seo a{ color:var(--muted2); }
.footer-seo a:hover{ color:var(--accent); text-decoration:underline; }

/* ---------- Responsive ---------- */
@media (max-width: 860px){
  .nav-links{ display:none; }
  .nav-cta .btn.ghost{ display:none; }
  .brand{ max-width:calc(100% - 180px); }
  .brand img{ height:42px; max-width:100%; }
  .nav-inner{ height:66px; }
  .prose{ padding:26px 18px; }
  .hero{ padding-top:30px; }
  .hero h1{ font-size:clamp(24px,7vw,32px); }
  .prose th{ white-space:normal; }
  .cta{ padding:24px 18px; }
}
