/* ==========================================================
   Charterfluege Theme – main.css
   Jürgens Internetlösungen · localmates.de
   ========================================================== */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Open Sans',sans-serif;background:#fff;color:#222;overflow-x:hidden}

/* ── NAV ───────────────────────────────────────────────── */
.cf-nav{
  position:fixed;top:0;left:0;right:0;z-index:999;
  height:60px;background:#fff;
  box-shadow:0 2px 10px rgba(0,0,0,.13);
  display:flex;align-items:center;
}
.cf-nav-inner{
  max-width:1200px;width:100%;margin:0 auto;padding:0 24px;
  display:flex;align-items:center;
}
.cf-logo{display:flex;align-items:center;gap:8px;text-decoration:none}
.cf-logo-icon{
  background:#1565c0;border-radius:50%;width:34px;height:34px;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.cf-logo-icon svg{color:#fff}
.cf-logo-text{font-size:16px;font-weight:700;color:#1a1a2e;white-space:nowrap}
.cf-nav-links{display:flex;align-items:center;gap:24px;margin-left:auto}
.cf-nav-links a{font-size:13.5px;font-weight:600;color:#333;text-decoration:none;white-space:nowrap}
.cf-nav-links a:hover,.cf-nav-links a.active{color:#1565c0}
.cf-nav-book{
  background:#e53935;color:#fff!important;padding:8px 18px;border-radius:4px;
  font-size:13px!important;font-weight:700!important;letter-spacing:.04em;
}
.cf-nav-book:hover{background:#c62828!important}

/* ── HERO ──────────────────────────────────────────────── */
.cf-hero{
  position:relative;min-height:580px;
  display:flex;flex-direction:column;
  overflow:hidden;padding-top:60px;
}
.cf-hero-photo{
  position:absolute;inset:0;z-index:0;
  background-size:cover;background-position:center;
}
.cf-hero-photo::before{
  content:'';position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(5,20,50,.82) 0%,rgba(5,20,50,.52) 38%,rgba(5,20,50,.10) 68%,transparent 100%);
}
.cf-hero-plane{
  position:absolute;right:-40px;top:60px;
  width:min(54%,620px);z-index:2;
  filter:drop-shadow(0 16px 48px rgba(0,0,0,.38));
  animation:cfFloat 8s ease-in-out infinite;
}
@keyframes cfFloat{0%,100%{transform:rotate(-5deg) translateY(0)}50%{transform:rotate(-2deg) translateY(-16px)}}
.cf-hero-body{
  position:relative;z-index:3;flex:1;
  display:flex;flex-direction:column;justify-content:center;
  max-width:1200px;width:100%;margin:0 auto;padding:44px 24px 0;
}
.cf-hero-h1{
  font-size:clamp(34px,4.6vw,56px);font-weight:800;color:#fff;
  line-height:1.08;text-shadow:0 2px 14px rgba(0,0,0,.32);margin-bottom:10px;
}
.cf-hero-sub{
  font-size:clamp(15px,1.7vw,19px);font-weight:700;color:#ffc107;
  text-shadow:0 1px 8px rgba(0,0,0,.38);margin-bottom:28px;
}

/* ── SUCHLEISTE ────────────────────────────────────────── */
.cf-search-outer{
  position:relative;z-index:4;
  width:100%;max-width:1200px;margin:0 auto;padding:0 24px 20px;
}
.cf-search-bar{
  display:flex;align-items:center;background:#fff;
  border-radius:8px;overflow:hidden;
  box-shadow:0 6px 30px rgba(0,0,0,.30);height:58px;
}
.cf-sf{
  display:flex;align-items:center;gap:7px;
  padding:0 12px;border-right:1px solid #e0e0e0;
  height:100%;flex:1;min-width:0;
}
.cf-sf-icon{color:#1565c0;flex-shrink:0;line-height:0}
.cf-sf-inner{display:flex;flex-direction:column;justify-content:center;flex:1;overflow:hidden}
.cf-sf-label{font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#999;margin-bottom:2px;white-space:nowrap}
.cf-sf-inner select,.cf-sf-inner input{
  border:none;outline:none;padding:0;background:transparent;
  font-family:'Open Sans',sans-serif;font-size:13px;font-weight:600;color:#1a1a2e;
  -webkit-appearance:none;appearance:none;cursor:pointer;width:100%;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.cf-sf-inner input[type=date]{font-size:12px}
.cf-search-cta{
  background:#e53935;color:#fff;border:none;height:100%;padding:0 22px;
  font-family:'Open Sans',sans-serif;font-size:13.5px;font-weight:800;
  letter-spacing:.05em;cursor:pointer;display:flex;align-items:center;gap:7px;
  transition:background .2s;text-transform:uppercase;flex-shrink:0;
}
.cf-search-cta:hover{background:#c62828}
#cf-toast{
  display:none;background:rgba(183,28,28,.9);color:#fff;
  padding:7px 16px;font-size:12px;font-weight:600;
  border-radius:0 0 6px 6px;margin-top:-4px;
}

/* ── TRUST BAR ─────────────────────────────────────────── */
.cf-trust{
  position:relative;z-index:3;background:#fff;
  border-top:3px solid #1565c0;
  box-shadow:0 4px 16px rgba(0,0,0,.10);
}
.cf-trust-inner{
  max-width:1200px;margin:0 auto;padding:0 24px;
  display:flex;align-items:stretch;height:68px;
}
.cf-trust-sep{width:1px;background:#e8e8e8;flex-shrink:0;margin:14px 0}
.cf-trust-item{display:flex;align-items:center;gap:12px;flex:1;padding:0 20px}
.cf-trust-icon{
  width:36px;height:36px;border-radius:8px;flex-shrink:0;background:#eef4fd;
  display:flex;align-items:center;justify-content:center;font-size:18px;
}
.cf-trust-texts{display:flex;flex-direction:column;line-height:1.2}
.cf-trust-strong{font-size:13px;font-weight:800;color:#1a1a2e;white-space:nowrap}
.cf-trust-sub{font-size:11px;color:#888;white-space:nowrap}

/* ── UTILITIES ─────────────────────────────────────────── */
.cf-wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.cf-sec-title{font-size:21px;font-weight:800;color:#1565c0;margin-bottom:22px}

/* ── BELIEBTE REISEZIELE ───────────────────────────────── */
.cf-destinations{background:#fff;padding:44px 0 52px}
.cf-dest-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.cf-dest-card{
  position:relative;height:210px;border-radius:10px;
  overflow:hidden;cursor:pointer;text-decoration:none;
  box-shadow:0 2px 12px rgba(0,0,0,.13);
  transition:transform .25s,box-shadow .25s;display:block;
}
.cf-dest-card:hover{transform:translateY(-4px);box-shadow:0 8px 28px rgba(0,0,0,.20)}
.cf-dest-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .45s}
.cf-dest-card:hover img{transform:scale(1.07)}
.cf-dest-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.72) 0%,transparent 55%)}
.cf-dest-name{position:absolute;bottom:16px;left:18px;font-size:21px;font-weight:800;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.45)}

/* ── WARUM MIT UNS FLIEGEN ─────────────────────────────── */
.cf-why{background:#eef5fb;padding:52px 0}
.cf-why-title{text-align:center;font-size:24px;font-weight:800;color:#1565c0;margin-bottom:30px}
.cf-why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.cf-why-card{
  background:#fff;border-radius:8px;padding:26px 20px;
  display:flex;align-items:flex-start;gap:16px;
  box-shadow:0 2px 10px rgba(0,0,0,.07);
  transition:box-shadow .2s,transform .2s;
}
.cf-why-card:hover{box-shadow:0 6px 20px rgba(0,0,0,.12);transform:translateY(-3px)}
.cf-why-icon{
  width:50px;height:50px;border-radius:10px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;font-size:24px;
}
.cf-wi-1{background:#dbeafe}
.cf-wi-2{background:#dbeafe}
.cf-wi-3{background:#fef9c3}
.cf-why-text h3{font-size:14px;font-weight:700;color:#1a1a2e;margin-bottom:5px}
.cf-why-text p{font-size:13px;color:#666;line-height:1.5}

/* ── AKTUELLE ANGEBOTE ─────────────────────────────────── */
.cf-offers{padding:0 0 52px}
.cf-offers-head{background:#1565c0;padding:18px 0;text-align:center;margin-bottom:26px}
.cf-offers-head h2{font-size:24px;font-weight:800;color:#fff}
.cf-offers-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.cf-offer-card{
  border-radius:10px;overflow:hidden;cursor:pointer;
  box-shadow:0 3px 14px rgba(0,0,0,.13);
  transition:transform .25s,box-shadow .25s;
}
.cf-offer-card:hover{transform:translateY(-5px);box-shadow:0 10px 32px rgba(0,0,0,.19)}
.cf-offer-photo{height:220px;position:relative;display:flex;align-items:flex-end;padding:18px;overflow:hidden}
.cf-offer-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s}
.cf-offer-card:hover .cf-offer-photo img{transform:scale(1.06)}
.cf-offer-photo::after{content:'';position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.65) 0%,transparent 60%)}
.cf-offer-text{position:relative;z-index:1}
.cf-offer-dest{font-size:19px;font-weight:800;color:#fff;line-height:1}
.cf-offer-sub{font-size:13px;color:rgba(255,255,255,.8);font-weight:600;margin-bottom:6px}
.cf-offer-price{font-size:28px;font-weight:800;color:#fff}
.cf-offer-price em{font-style:normal;font-size:16px;font-weight:400}
.cf-offer-btn{
  display:flex;align-items:center;justify-content:center;
  width:100%;background:#e53935;border:none;padding:13px 0;
  font-family:'Open Sans',sans-serif;font-size:14px;font-weight:700;color:#fff;
  cursor:pointer;transition:background .2s;
}
.cf-offer-btn:hover{background:#c62828}
.cf-offer-btn.yellow{background:#f57c00}
.cf-offer-btn.yellow:hover{background:#e65100}

/* ── NEWS ──────────────────────────────────────────────── */
.cf-news{background:#f5f5f5;padding:52px 0}
.cf-news-title{text-align:center;font-size:24px;font-weight:800;color:#1565c0;margin-bottom:30px}
.cf-news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.cf-news-card{background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 2px 10px rgba(0,0,0,.07);transition:box-shadow .2s,transform .2s}
.cf-news-card:hover{box-shadow:0 6px 22px rgba(0,0,0,.13);transform:translateY(-3px)}
.cf-news-photo{height:186px;overflow:hidden}
.cf-news-photo img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.cf-news-card:hover .cf-news-photo img{transform:scale(1.05)}
.cf-news-body{padding:18px}
.cf-news-body h3{font-size:15px;font-weight:700;color:#1a1a2e;margin-bottom:8px}
.cf-news-body p{font-size:13px;color:#666;line-height:1.6;margin-bottom:16px}
.cf-news-btn{
  display:inline-flex;align-items:center;gap:5px;
  background:#1565c0;color:#fff;border:none;border-radius:4px;
  padding:8px 18px;font-family:'Open Sans',sans-serif;font-size:13px;font-weight:700;
  cursor:pointer;transition:background .2s;text-decoration:none;
}
.cf-news-btn:hover{background:#0d47a1}
.cf-news-btn::after{content:' ›'}

/* ── NEWSLETTER ────────────────────────────────────────── */
.cf-nl{background:#0d2137;padding:30px 0}
.cf-nl-inner{max-width:1200px;margin:0 auto;padding:0 24px;display:flex;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap}
.cf-nl-text{font-size:16px;color:#fff}
.cf-nl-text strong{font-weight:800}
.cf-nl-form{display:flex;gap:8px}
.cf-nl-input{height:40px;padding:0 16px;border:none;border-radius:3px;width:210px;font-family:'Open Sans',sans-serif;font-size:13px;outline:none}
.cf-nl-btn{height:40px;padding:0 18px;background:#f57c00;border:none;border-radius:3px;color:#fff;font-family:'Open Sans',sans-serif;font-size:13px;font-weight:700;cursor:pointer;transition:background .2s}
.cf-nl-btn:hover{background:#e65100}

/* ── FOOTER ────────────────────────────────────────────── */
.cf-footer{background:#112a45;padding:44px 0 20px}
.cf-footer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:32px;margin-bottom:36px}
.cf-fc h4{font-size:13px;font-weight:700;color:#fff;margin-bottom:14px;padding-bottom:8px;border-bottom:1px solid rgba(255,255,255,.1)}
.cf-fc ul{list-style:none;display:flex;flex-direction:column;gap:8px}
.cf-fc ul li a{font-size:13px;color:rgba(255,255,255,.55);text-decoration:none;transition:color .2s}
.cf-fc ul li a:hover{color:#fff}
.cf-footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding-top:18px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
.cf-footer-copy{font-size:12px;color:rgba(255,255,255,.28)}

/* ── DESTINATION CONTENT ───────────────────────────────── */
.cf-dest-content{background:#fff;padding:48px 0}
.cf-dest-content-inner h2{font-size:20px;font-weight:800;color:#1565c0;margin:24px 0 10px}
.cf-dest-content-inner h3{font-size:16px;font-weight:700;color:#1a1a2e;margin:18px 0 8px}
.cf-dest-content-inner p{font-size:15px;color:#444;line-height:1.8;margin-bottom:14px}
.cf-dest-content-inner table{width:100%;border-collapse:collapse;margin:20px 0;font-size:14px}
.cf-dest-content-inner th{background:#1565c0;color:#fff;padding:10px 14px;text-align:left}
.cf-dest-content-inner td{padding:10px 14px;border-bottom:1px solid #e8eef5;color:#444}
.cf-dest-content-inner tr:nth-child(even) td{background:#f5f8fc}

/* ── SEO CONTENT ───────────────────────────────────────── */
.cf-seo{background:#fff;padding:64px 0;border-top:1px solid #f0f0f0}
.cf-seo-grid{display:grid;grid-template-columns:1fr 340px;gap:52px;align-items:start}
.cf-seo-h2{font-size:22px;font-weight:800;color:#1a1a2e;margin-bottom:18px;line-height:1.3}
.cf-seo-h3{font-size:15px;font-weight:700;color:#1565c0;margin:24px 0 8px}
.cf-seo-main p{font-size:14px;color:#444;line-height:1.8;margin-bottom:4px}
.cf-seo-side{display:flex;flex-direction:column;gap:20px}
.cf-seo-box{background:#f8fafd;border:1px solid #e3eaf5;border-radius:10px;padding:20px}
.cf-seo-box-title{font-size:13px;font-weight:700;color:#1a1a2e;margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid #e3eaf5}
.cf-seo-list{list-style:none;display:flex;flex-direction:column;gap:9px}
.cf-seo-list li{display:flex;justify-content:space-between;font-size:13px;color:#555;padding-bottom:9px;border-bottom:1px solid #eef1f7}
.cf-seo-list li:last-child{border-bottom:none;padding-bottom:0}
.cf-seo-list strong{color:#1565c0;font-weight:700}
.cf-seo-check{list-style:none;display:flex;flex-direction:column;gap:8px}
.cf-seo-check li{font-size:13px;color:#333;display:flex;align-items:flex-start;gap:8px;line-height:1.4}
.cf-seo-check li::before{content:'✓';color:#1565c0;font-weight:800;flex-shrink:0;margin-top:1px}

/* ── FAQ ───────────────────────────────────────────────── */
.cf-faq{background:#f5f8fc;padding:64px 0}
.cf-faq-head{text-align:center;margin-bottom:44px}
.cf-faq-head h2{font-size:26px;font-weight:800;color:#1a1a2e;margin-bottom:10px}
.cf-faq-head p{font-size:15px;color:#666}
.cf-faq-list{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:8px}
.cf-faq-item{background:#fff;border:1px solid #e3eaf5;border-radius:10px;overflow:hidden}
.cf-faq-btn{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;background:none;border:none;cursor:pointer;text-align:left;font-family:'Open Sans',sans-serif}
.cf-faq-btn span{font-size:15px;font-weight:600;color:#1a1a2e;line-height:1.4}
.cf-faq-btn:hover span{color:#1565c0}
.cf-faq-icon{flex-shrink:0;color:#1565c0;transition:transform .25s}
.cf-faq-btn[aria-expanded=true] .cf-faq-icon{transform:rotate(180deg)}
.cf-faq-btn[aria-expanded=true] span{color:#1565c0}
.cf-faq-answer{padding:0 24px 20px}
.cf-faq-answer p{font-size:14px;color:#555;line-height:1.75}

/* ── ERGEBNIS-SEITE ────────────────────────────────────── */
.cf-results-frame-wrap{position:relative;height:calc(100vh - 60px);min-height:600px}
.cf-results-frame{width:100%;height:100%;border:none;display:block}
.cf-results-loading{position:absolute;inset:0;background:#f0f4f9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px}
.cf-spinner{width:44px;height:44px;border:4px solid #ddd;border-top-color:#1565c0;border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.cf-results-back{background:rgba(255,255,255,.15);color:#fff;border:1px solid rgba(255,255,255,.3);padding:7px 16px;border-radius:4px;font-size:13px;font-weight:600;text-decoration:none;cursor:pointer;white-space:nowrap}
.cf-results-back:hover{background:rgba(255,255,255,.25)}

/* ── RESPONSIVE ────────────────────────────────────────── */
@media(max-width:960px){
  .cf-dest-grid,.cf-why-grid,.cf-offers-grid,.cf-news-grid{grid-template-columns:1fr 1fr}
  .cf-footer-grid{grid-template-columns:1fr 1fr}
  .cf-seo-grid{grid-template-columns:1fr}
  .cf-trust-inner{height:auto;flex-wrap:wrap;padding:12px 16px}
  .cf-trust-sep{display:none}
  .cf-trust-item{flex:1 1 45%;padding:10px 12px;min-width:160px}
}
@media(max-width:900px){
  .cf-sf-label{font-size:8px}
  .cf-sf{padding:0 8px;gap:4px}
  .cf-search-cta{padding:0 14px;font-size:12px}
}
@media(max-width:680px){
  .cf-nav-links a:not(.cf-nav-book){display:none}
  .cf-hero-plane{display:none}
  .cf-search-bar{flex-wrap:wrap;height:auto}
  .cf-sf{border-right:none;border-bottom:1px solid #eee;padding:10px 14px;height:52px;flex:1 1 45%}
  .cf-search-cta{width:100%;justify-content:center;padding:14px;height:52px}
  .cf-dest-grid,.cf-why-grid,.cf-offers-grid,.cf-news-grid{grid-template-columns:1fr}
  .cf-footer-grid{grid-template-columns:1fr 1fr}
  .cf-nl-inner{flex-direction:column;text-align:center}
  .cf-nl-form{flex-direction:column;width:100%;max-width:320px}
  .cf-nl-input{width:100%}
  .cf-trust-item{flex:1 1 100%}
}

/* ── BREADCRUMB ────────────────────────────────────────── */
.cf-breadcrumb{
  background:#fff;border-bottom:1px solid #f0f0f0;
  position:relative;z-index:998;
  margin-top:60px;
}
.cf-bc-list{
  display:flex;align-items:center;flex-wrap:wrap;
  list-style:none;   /* keine ol-Nummerierung */
  padding:9px 0;gap:0;
  font-size:13px;
}
/* Separator › via CSS ::after — kein extra li nötig */
.cf-bc-list li:not(:last-child)::after{
  content:'›';
  color:#bbb;font-size:11px;
  margin:0 6px;
  display:inline-block;
}
.cf-bc-list li a{color:#1565c0;text-decoration:none;font-weight:500}
.cf-bc-list li a:hover{text-decoration:underline}
.cf-bc-list li[aria-current=page]{color:#555;font-weight:500}

/* Hero-padding wenn Breadcrumb vorhanden */
.cf-destination-page .cf-hero{padding-top:0}

/* ── INTERNE VERLINKUNG ────────────────────────────────── */
.cf-internal-links{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px 32px;
  padding:8px 0;
}
/* Jede Spalte sichtbar machen */
.cf-il-col{min-width:0}
.cf-il-title{
  font-size:13px;font-weight:700;color:#1a1a2e;
  margin-bottom:10px;padding-bottom:8px;
  border-bottom:2px solid #e8eef8;
}
.cf-internal-links ul{
  list-style:none;display:flex;flex-direction:column;gap:6px;
}
.cf-internal-links ul li a{
  font-size:13px;color:#1565c0;text-decoration:none;
  display:flex;align-items:center;gap:5px;line-height:1.4;
  transition:color .15s;
}
.cf-internal-links ul li a::before{content:'›';color:#aaa;font-size:11px}
.cf-internal-links ul li a:hover{color:#0d47a1;text-decoration:underline}

@media(max-width:960px){.cf-internal-links{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.cf-internal-links{grid-template-columns:1fr}}

/* ══════════════════════════════════════════════════════════
   BLOG – home.php + single.php
   ══════════════════════════════════════════════════════════ */

/* ── Blog Hero ─────────────────────────────────────────── */
.cf-blog-hero{
  background:#1a1a2e;padding:56px 0 40px;
  margin-top:60px;
}
.cf-blog-hero-h1{font-size:clamp(24px,3vw,36px);font-weight:800;color:#fff;margin-bottom:10px}
.cf-blog-hero-sub{font-size:15px;color:rgba(255,255,255,.65);max-width:560px}

/* ── Kategorie-Filter ──────────────────────────────────── */
.cf-blog-cats{
  background:#fff;border-bottom:1px solid #eef1f6;
  padding:14px 0;
}
.cf-blog-cats .cf-wrap{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.cf-cat-btn{
  font-size:12px;font-weight:600;color:#555;
  padding:5px 14px;border-radius:20px;
  border:1px solid #d8e0ec;text-decoration:none;
  transition:all .2s;white-space:nowrap;
  background:#fff;
}
.cf-cat-btn:hover,.cf-cat-btn.active{
  background:#1565c0;color:#fff;border-color:#1565c0;
}

/* ── Blog Grid (home + more articles) ─────────────────── */
.cf-blog-main{padding:44px 0 60px;background:#f5f8fc}
.cf-blog-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.cf-blog-grid--3{grid-template-columns:repeat(3,1fr)}

.cf-blog-card{
  background:#fff;border-radius:10px;overflow:hidden;
  box-shadow:0 2px 12px rgba(0,0,0,.08);
  display:flex;flex-direction:column;
  transition:transform .25s,box-shadow .25s;
}
.cf-blog-card:hover{transform:translateY(-4px);box-shadow:0 8px 28px rgba(0,0,0,.14)}
.cf-blog-card-img{
  display:block;position:relative;height:200px;overflow:hidden;
}
.cf-blog-card-img img{
  width:100%;height:100%;object-fit:cover;
  transition:transform .4s;display:block;
}
.cf-blog-card:hover .cf-blog-card-img img{transform:scale(1.06)}
.cf-blog-card-cat{
  position:absolute;top:12px;left:12px;z-index:1;
  background:#1565c0;color:#fff;font-size:11px;font-weight:700;
  padding:3px 10px;border-radius:3px;text-transform:uppercase;letter-spacing:.06em;
}
.cf-blog-card-body{
  padding:20px;flex:1;
  display:flex;flex-direction:column;gap:8px;
}
.cf-blog-card-meta{font-size:12px;color:#999;display:flex;gap:6px;align-items:center}
.cf-blog-card-title{font-size:16px;font-weight:700;color:#1a1a2e;line-height:1.4;margin:0}
.cf-blog-card-title a{text-decoration:none;color:inherit}
.cf-blog-card-title a:hover{color:#1565c0}
.cf-blog-card-excerpt{font-size:13px;color:#666;line-height:1.6;flex:1;margin:0}
.cf-blog-card-btn{
  display:inline-flex;align-items:center;gap:4px;
  font-size:13px;font-weight:700;color:#1565c0;
  text-decoration:none;margin-top:4px;
}
.cf-blog-card-btn:hover{text-decoration:underline}

/* Pagination */
.cf-blog-pagi{margin-top:40px;display:flex;justify-content:center}
.cf-blog-pagi .nav-links{display:flex;gap:8px;flex-wrap:wrap}
.cf-blog-pagi .page-numbers{
  display:flex;align-items:center;justify-content:center;
  width:38px;height:38px;border-radius:6px;
  background:#fff;border:1px solid #dde5f0;
  font-size:13px;font-weight:600;color:#333;
  text-decoration:none;transition:all .2s;
}
.cf-blog-pagi .page-numbers.current,
.cf-blog-pagi .page-numbers:hover{background:#1565c0;color:#fff;border-color:#1565c0}
.cf-blog-pagi .page-numbers.dots{background:none;border:none}
.cf-blog-pagi .prev,.cf-blog-pagi .next{width:auto;padding:0 16px}

.cf-blog-empty{text-align:center;padding:60px 0;color:#555}

/* ── Artikel-Hero ──────────────────────────────────────── */
.cf-post-hero{
  position:relative;height:380px;margin-top:60px;
  background-size:cover;background-position:center;
  display:flex;align-items:flex-end;
}
.cf-post-hero-overlay{
  position:absolute;inset:0;
  background:linear-gradient(to top,rgba(10,20,50,.88) 0%,rgba(10,20,50,.35) 50%,transparent 100%);
}
.cf-post-hero-body{position:relative;z-index:1;padding-bottom:36px}
.cf-post-cat-badge{
  display:inline-block;background:#1565c0;color:#fff;
  font-size:11px;font-weight:700;padding:3px 12px;border-radius:3px;
  text-decoration:none;text-transform:uppercase;letter-spacing:.07em;
  margin-bottom:12px;
}
.cf-post-h1{
  font-size:clamp(22px,3.2vw,40px);font-weight:800;color:#fff;
  line-height:1.15;max-width:780px;margin:0 0 12px;
  text-shadow:0 2px 12px rgba(0,0,0,.35);
}
.cf-post-meta{display:flex;gap:8px;align-items:center;font-size:13px;color:rgba(255,255,255,.7)}

/* ── Artikel Layout (2 Spalten: Content + Sidebar) ─────── */
.cf-post-wrap{padding:48px 0 60px;background:#fff}
.cf-post-layout{
  display:grid;
  grid-template-columns:1fr 300px;
  gap:48px;
  align-items:start;
}
.cf-post-main{min-width:0}

/* ── Artikel Inhalt Typography ─────────────────────────── */
.cf-post-article h2{
  font-size:20px;font-weight:800;color:#1a1a2e;
  margin:36px 0 12px;padding-bottom:8px;
  border-bottom:2px solid #eef1f8;
}
.cf-post-article h3{
  font-size:16px;font-weight:700;color:#1565c0;
  margin:24px 0 8px;
}
.cf-post-article p{
  font-size:15px;color:#444;line-height:1.8;
  margin-bottom:16px;
}
.cf-post-article ul,.cf-post-article ol{
  margin:0 0 16px 20px;
  font-size:15px;color:#444;line-height:1.8;
}
.cf-post-article table{
  width:100%;border-collapse:collapse;margin:20px 0;font-size:14px;
}
.cf-post-article th{background:#1565c0;color:#fff;padding:10px 14px;text-align:left}
.cf-post-article td{padding:10px 14px;border-bottom:1px solid #e8eef5;color:#444}
.cf-post-article tr:nth-child(even) td{background:#f5f8fc}
.cf-post-article a{color:#1565c0;text-decoration:none}
.cf-post-article a:hover{text-decoration:underline}
.cf-post-article blockquote{
  border-left:4px solid #1565c0;margin:20px 0;
  padding:12px 20px;background:#f0f6ff;
  font-size:15px;color:#333;font-style:italic;
}

/* Inhaltsverzeichnis (aus WordPress Custom HTML) */
.cf-toc,.cf-post-article nav.cf-toc{
  background:#f5f8fc;border:1px solid #e0e8f4;
  border-radius:8px;padding:20px 24px;margin:0 0 32px;
}
.cf-toc h2{font-size:15px!important;font-weight:700!important;color:#1a1a2e!important;border:none!important;margin:0 0 10px!important;padding:0!important}
.cf-toc ol,.cf-toc ul{margin:0 0 0 16px;padding:0}
.cf-toc li{font-size:14px;margin-bottom:6px}
.cf-toc a{color:#1565c0;text-decoration:none}
.cf-toc a:hover{text-decoration:underline}

/* Interne Links Box */
.cf-blog-links{background:#eef5fb;border-radius:8px;padding:20px;margin:28px 0}
.cf-blog-links ul{margin:0 0 0 16px}
.cf-blog-links li{font-size:14px;margin-bottom:6px}
.cf-blog-links a{color:#1565c0;text-decoration:none;font-weight:600}
.cf-blog-links a:hover{text-decoration:underline}

/* Kategorie-Badges in Artikel */
.cf-blog-meta{font-size:13px;color:#888;margin-bottom:20px}

/* Tags */
.cf-post-tags{
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;
  margin:32px 0;padding-top:20px;border-top:1px solid #eee;
  font-size:13px;color:#888;
}
.cf-post-tag{
  background:#eef1f8;color:#555;padding:3px 10px;border-radius:3px;
  text-decoration:none;font-size:12px;font-weight:600;
  transition:background .2s;
}
.cf-post-tag:hover{background:#1565c0;color:#fff}

/* Artikel Navigation (Prev/Next) */
.cf-post-nav{
  display:flex;gap:16px;margin-top:32px;padding-top:24px;
  border-top:1px solid #eee;flex-wrap:wrap;
}
.cf-post-nav-link{
  flex:1;min-width:200px;padding:16px;border-radius:8px;
  border:1px solid #e0e8f4;text-decoration:none;
  transition:border-color .2s,background .2s;
}
.cf-post-nav-link:hover{border-color:#1565c0;background:#f5f9ff}
.cf-post-nav-dir{display:block;font-size:11px;color:#999;font-weight:600;text-transform:uppercase;letter-spacing:.06em;margin-bottom:4px}
.cf-post-nav-title{display:block;font-size:14px;font-weight:700;color:#1a1a2e;line-height:1.4}
.cf-post-nav-next{text-align:right}

/* ── Sidebar ────────────────────────────────────────────── */
.cf-post-sidebar{
  position:sticky;top:76px;
  display:flex;flex-direction:column;gap:20px;
}
.cf-sidebar-box{
  background:#f8fafd;border:1px solid #e3eaf5;
  border-radius:10px;padding:18px;
}
.cf-sidebar-box-title{
  font-size:13px;font-weight:700;color:#1a1a2e;
  margin-bottom:14px;padding-bottom:10px;
  border-bottom:1px solid #e3eaf5;
}

/* TOC Sidebar */
.cf-toc-box #cf-toc-list ol{margin:0;padding:0 0 0 16px}
.cf-toc-box #cf-toc-list li{font-size:13px;margin-bottom:6px;color:#555}
.cf-toc-box #cf-toc-list a{color:#1565c0;text-decoration:none}
.cf-toc-box #cf-toc-list a:hover,.cf-toc-box #cf-toc-list a.active{font-weight:700;text-decoration:underline}

/* Suche Widget Sidebar */
.cf-sidebar-search .cf-sb-select{
  width:100%;padding:8px 12px;border:1px solid #d0dae8;border-radius:6px;
  font-family:'Open Sans',sans-serif;font-size:13px;color:#333;
  background:#fff;outline:none;-webkit-appearance:none;appearance:none;
}
.cf-sidebar-search .cf-sb-select:focus{border-color:#1565c0}
.cf-sidebar-search .cf-sb-btn{
  width:100%;padding:10px;background:#e53935;color:#fff;border:none;
  border-radius:6px;font-family:'Open Sans',sans-serif;font-size:13px;font-weight:700;
  cursor:pointer;transition:background .2s;
}
.cf-sidebar-search .cf-sb-btn:hover{background:#c62828}

/* Verwandte + Destination Links */
.cf-sidebar-related,.cf-sidebar-dest{list-style:none;display:flex;flex-direction:column;gap:8px}
.cf-sidebar-related li a,.cf-sidebar-dest li a{
  font-size:13px;color:#1565c0;text-decoration:none;
  display:flex;align-items:center;gap:6px;line-height:1.4;
}
.cf-sidebar-related li a::before,.cf-sidebar-dest li a::before{content:'›';color:#aaa;font-size:11px;flex-shrink:0}
.cf-sidebar-related li a:hover,.cf-sidebar-dest li a:hover{text-decoration:underline}

/* ── Responsive Blog ────────────────────────────────────── */
@media(max-width:1024px){
  .cf-post-layout{grid-template-columns:1fr}
  .cf-post-sidebar{position:static}
  .cf-toc-box{display:none} /* TOC ist im Artikel selbst via Custom HTML */
}
@media(max-width:760px){
  .cf-blog-grid,.cf-blog-grid--3{grid-template-columns:1fr}
  .cf-post-hero{height:280px}
  .cf-post-nav{flex-direction:column}
}
@media(max-width:500px){
  .cf-blog-hero{padding:40px 0 28px}
}
