/* RocketLift – neues Design für alle WordPress-Seiten (nur aktiv mit html.rl-neu, siehe wp/rl-design.php) */
html.rl-neu {
  --navy: #0d1b2e;
  --navy-2: #13263f;
  --orange: #ff6a1a;
  --orange-2: #ff8a3d;
  --amber: #ffb347;
  --green: #2e9b4f;
  --cream: #fbf8f3;
  --ink: #16202e;
  --muted: #5d6878;
  --line: #e7e2da;
  --head: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --hand: "Caveat", cursive;
  scroll-padding-top: 90px;
  overflow-x: clip;
}
html.rl-neu body p { color: inherit !important; }
html.rl-neu body {
  background: var(--cream) !important;
  background-image: none !important;
  color: var(--ink) !important;
  font: 400 17px/1.7 var(--body) !important;
  overflow-x: hidden;
}

/* altes Theme-Menü und alte Fußzeile ausblenden */
html.rl-neu #masthead, html.rl-neu #mobile-header, html.rl-neu #site-navigation, html.rl-neu .mobile-menu-control-wrapper,
html.rl-neu .site-footer, html.rl-neu #footer-widgets, html.rl-neu .site-info, html.rl-neu .generate-back-to-top { display: none !important; }

/* ---------- Kopf ---------- */
.rl-kopf { display: none; }
html.rl-neu .rl-kopf { display: block; position: sticky; top: 0; z-index: 1000; background: radial-gradient(120% 200% at 85% -40%, #1d3a5f 0%, var(--navy) 60%); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
html.rl-neu.admin-bar .rl-kopf, html.rl-neu body.admin-bar .rl-kopf { top: 32px; }
html.rl-neu .rl-kopf-in { max-width: 1240px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 24px; }
html.rl-neu .rl-logo { display: inline-flex; align-items: center; gap: 8px; color: #fff !important; text-decoration: none !important; font: 800 25px/1 var(--head); letter-spacing: -.02em; }
html.rl-neu .rl-logo b { color: var(--orange); font-weight: 800; }
html.rl-neu .rl-logo-mark { width: 32px; height: 32px; color: var(--orange); }
html.rl-neu .rl-logo-dunkel { color: var(--navy) !important; }
html.rl-neu .rl-menue { margin-left: auto; display: flex; align-items: center; }
html.rl-neu .rl-menue ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
html.rl-neu .rl-menue li { position: relative; margin: 0; }
html.rl-neu .rl-top { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: #fff; font: 500 15px/1 var(--body); padding: 12px 12px; border-radius: 999px; cursor: pointer; }
html.rl-neu .rl-top svg { width: 12px; height: 12px; transition: transform .2s; }
html.rl-neu .rl-top:hover, html.rl-neu .rl-hat-sub:focus-within > .rl-top, html.rl-neu .rl-aktiv > .rl-top { background: rgba(255, 255, 255, .1); }
html.rl-neu .rl-sub { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 6px); min-width: 280px; background: #fff; border-radius: 18px; padding: 8px; box-shadow: 0 24px 50px -20px rgba(13, 27, 46, .55); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; }
html.rl-neu .rl-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
html.rl-neu .rl-hat-sub:hover .rl-sub, html.rl-neu .rl-hat-sub:focus-within .rl-sub, html.rl-neu .rl-hat-sub.offen .rl-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
html.rl-neu .rl-hat-sub:hover .rl-top svg, html.rl-neu .rl-hat-sub.offen .rl-top svg { transform: rotate(180deg); }
html.rl-neu .rl-sub a { display: block; padding: 10px 14px; border-radius: 12px; text-decoration: none !important; color: var(--ink) !important; }
html.rl-neu .rl-sub a:hover { background: #fff3ea; }
html.rl-neu .rl-sub b { display: block; font-weight: 700; font-size: 15px; }
html.rl-neu .rl-sub small { display: block; color: var(--muted); font-size: 13px; line-height: 1.3; }
html.rl-neu .rl-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--orange); color: #fff !important; border: 0; border-radius: 999px; padding: 15px 26px; font: 700 16px/1 var(--body); text-decoration: none !important; box-shadow: 0 10px 26px -10px rgba(255, 106, 26, .8); transition: background .2s, transform .2s; }
html.rl-neu .rl-btn i { font-style: normal; transition: transform .2s; }
html.rl-neu .rl-btn:hover { background: var(--orange-2); }
html.rl-neu .rl-btn:hover i { transform: translateX(4px); }
html.rl-neu .rl-btn-sm { padding: 12px 18px; font-size: 14px; }
html.rl-neu .rl-btn-lg { padding: 18px 30px; font-size: 17px; }
html.rl-neu .rl-btn-m { display: none; }
html.rl-neu .rl-burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); cursor: pointer; position: relative; margin-left: auto; padding: 0; }
html.rl-neu .rl-burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; transition: transform .3s; }
html.rl-neu .rl-burger span:first-child { top: 17px; }
html.rl-neu .rl-burger span:last-child { top: 25px; }
html.rl-neu .rl-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
html.rl-neu .rl-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Seitenrahmen ---------- */
html.rl-neu .site.grid-container, html.rl-neu #page { max-width: 1240px !important; margin: 0 auto !important; padding: 36px 20px 40px !important; background: transparent !important; }
html.rl-neu .site-content { display: flex; gap: 28px; align-items: flex-start; background: transparent !important; padding: 0 !important; }
html.rl-neu .content-area { flex: 1 1 auto; min-width: 0; width: auto !important; max-width: 100%; }
html.rl-neu .inside-article { overflow-wrap: break-word; max-width: 100%; }
html.rl-neu .entry-content iframe, html.rl-neu .entry-content video, html.rl-neu .entry-content embed { max-width: 100%; }
html.rl-neu .widget-area.sidebar { flex: 0 0 300px; width: 300px !important; }
html.rl-neu .separate-containers .inside-article, html.rl-neu .inside-article, html.rl-neu .separate-containers .page-header, html.rl-neu .separate-containers .comments-area, html.rl-neu .separate-containers .paging-navigation {
  background: #fff !important; color: var(--ink) !important; border-radius: 28px; padding: 48px 52px !important; box-shadow: 0 18px 50px -28px rgba(13, 27, 46, .35); border: 1px solid #efe9df; margin-bottom: 24px !important;
}
html.rl-neu .site-main > article + article { margin-top: 0; }

/* ---------- Text ---------- */
html.rl-neu .inside-article *:not(.rl-btn):not(.rl-btn *) { color: inherit; }
html.rl-neu .entry-content, html.rl-neu .entry-content p, html.rl-neu .entry-content li, html.rl-neu .entry-summary, html.rl-neu .entry-summary p { color: #2a3443 !important; font-family: var(--body) !important; font-size: 17px; line-height: 1.75; }
html.rl-neu h1, html.rl-neu h2, html.rl-neu h3, html.rl-neu h4, html.rl-neu .entry-title, html.rl-neu .entry-title a {
  font-family: var(--head) !important; color: var(--navy) !important; letter-spacing: -.02em; line-height: 1.12 !important; font-weight: 800 !important; text-transform: none !important; background: none !important; text-shadow: none !important;
}
html.rl-neu .entry-header .entry-title { font-size: clamp(34px, 4.6vw, 54px) !important; margin: 0 0 8px !important; }
html.rl-neu .entry-header { margin-bottom: 26px; padding-bottom: 22px; border-bottom: 2px solid #f3ede4; }
html.rl-neu .entry-header::before { content: "RocketLift-Ratgeber"; display: block; font: 700 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
html.rl-neu .rl-ohne-label .entry-header::before { display: none; }
html.rl-neu .entry-meta, html.rl-neu .entry-meta a { color: var(--muted) !important; font-size: 14px; }
html.rl-neu .entry-content h2 { font-size: clamp(26px, 3vw, 34px) !important; margin: 1.6em 0 .55em !important; }
html.rl-neu .entry-content h3 { font-size: clamp(21px, 2.3vw, 25px) !important; margin: 1.4em 0 .5em !important; }
html.rl-neu .entry-content h4 { font-size: 19px !important; margin: 1.2em 0 .4em !important; }
html.rl-neu .entry-content h2 span, html.rl-neu .entry-content h3 span { color: inherit !important; }
html.rl-neu .entry-content > *:first-child, html.rl-neu .entry-content #dwik > h2:first-child { margin-top: 0 !important; }
html.rl-neu .entry-content a:not(.rl-btn):not(.button):not(.wp-block-button__link) { color: #e2560c !important; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
html.rl-neu .entry-content a:not(.rl-btn):hover { color: var(--orange) !important; }
html.rl-neu .entry-content strong, html.rl-neu .entry-content b { color: var(--navy) !important; font-weight: 700; }
html.rl-neu .entry-content ul { list-style: none; padding-left: 0; margin: 0 0 1.4em; }
html.rl-neu .entry-content ul li { position: relative; padding-left: 32px; margin: 0 0 .55em; }
html.rl-neu .entry-content ul li::before { content: "✓"; position: absolute; left: 0; top: .3em; width: 21px; height: 21px; border-radius: 50%; background: var(--orange); color: #fff; font: 700 11px/21px var(--body); text-align: center; }
html.rl-neu .entry-content ol { padding-left: 1.4em; }
html.rl-neu .entry-content ol li::marker { color: var(--orange); font-weight: 700; }
html.rl-neu .entry-content img { border-radius: 16px; height: auto; max-width: 100%; }
html.rl-neu .entry-content .alignright { margin: 6px 0 16px 24px; }
html.rl-neu .entry-content .alignleft { margin: 6px 24px 16px 0; }
html.rl-neu .entry-content blockquote { margin: 1.5em 0; padding: 20px 24px; border-left: 4px solid var(--orange); background: #fff7f1; border-radius: 0 16px 16px 0; font-style: normal; }
html.rl-neu .entry-content table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin: 1.5em 0; font-size: 15.5px; }
html.rl-neu .entry-content th { background: var(--navy) !important; color: #fff !important; text-align: left; padding: 12px 14px; font-weight: 700; }
html.rl-neu .entry-content td { padding: 11px 14px; border-top: 1px solid var(--line); background: #fff !important; color: #2a3443 !important; }
html.rl-neu .entry-content tr:nth-child(even) td { background: #fcfaf6 !important; }
html.rl-neu .entry-content hr { border: 0; height: 2px; background: #f3ede4; margin: 2em 0; }
/* Shortcodes des alten Themes */
html.rl-neu .entry-content .row { display: block; margin: 0; }
html.rl-neu .entry-content [class*="col-md-"] { width: auto; float: none; padding: 0; }
html.rl-neu .entry-content .spacer { height: 8px; }
html.rl-neu .title-decorated, html.rl-neu .title-inner { background: none !important; border: 0 !important; padding: 0 !important; text-align: left !important; }
html.rl-neu .title-decorated h2 { margin-top: 1.4em !important; }
html.rl-neu #dwik { background: linear-gradient(135deg, #fff4ec, #fffaf5) !important; border: 1px solid #ffd9c2; border-radius: 22px; padding: 26px 28px 10px; margin-bottom: 1.8em; }
html.rl-neu #dwik h2 { font-size: 24px !important; }
/* Buttons im Inhalt */
html.rl-neu .entry-content .button, html.rl-neu .entry-content .wp-block-button__link, html.rl-neu .entry-content .btn { background: var(--orange) !important; color: #fff !important; border-radius: 999px !important; border: 0 !important; padding: 13px 24px !important; font-weight: 700 !important; text-decoration: none !important; }
/* Inhaltsverzeichnis */
html.rl-neu #toc_container { background: var(--cream) !important; border: 1px solid var(--line) !important; border-radius: 18px; padding: 18px 22px !important; width: auto !important; display: block !important; margin: 0 0 1.8em !important; }
html.rl-neu #toc_container .toc_title { font: 800 18px var(--head) !important; color: var(--navy) !important; text-align: left !important; }
html.rl-neu #toc_container li::before { display: none; }
html.rl-neu #toc_container li { padding-left: 0 !important; margin: 4px 0 !important; }
html.rl-neu #toc_container a { color: var(--ink) !important; text-decoration: none !important; font-size: 15.5px; }
html.rl-neu #toc_container a:hover { color: var(--orange) !important; }
/* Ähnliche Beiträge */
html.rl-neu .crp_related { margin-top: 2em; padding: 22px 24px; background: var(--cream); border-radius: 20px; }
html.rl-neu .crp_related h3 { font-size: 20px !important; margin: 0 0 10px !important; }
html.rl-neu .crp_related li { padding-left: 24px !important; }
html.rl-neu .crp_related li::before { content: "→" !important; background: none !important; color: var(--orange) !important; width: auto !important; font-size: 16px !important; top: .1em !important; }

/* ---------- Seitenleiste ---------- */
html.rl-neu .sidebar .widget { background: radial-gradient(90% 70% at 85% 0%, #24456d 0%, var(--navy) 60%) !important; color: #fff !important; border-radius: 24px; padding: 26px 24px !important; margin-bottom: 20px; border: 0 !important; box-shadow: 0 18px 40px -24px rgba(13, 27, 46, .6); }
html.rl-neu .sidebar .widget * { color: #fff !important; background: transparent !important; font-family: var(--body) !important; }
html.rl-neu .sidebar .widget .container, html.rl-neu .sidebar .widget .row, html.rl-neu .sidebar .widget [class*="col-"] { width: auto !important; max-width: none !important; padding: 0 !important; margin: 0 !important; float: none !important; }
html.rl-neu .sidebar .widget h1, html.rl-neu .sidebar .widget h2, html.rl-neu .sidebar .widget h3, html.rl-neu .sidebar .widget h4 { font: 800 24px/1.15 var(--head) !important; margin: 0 0 14px !important; }
html.rl-neu .sidebar .widget a { display: inline-flex; margin-top: 10px; background: var(--orange) !important; padding: 13px 20px; border-radius: 999px; font-weight: 700 !important; text-decoration: none !important; font-size: 15px; }
html.rl-neu .sidebar .widget a:hover { background: var(--orange-2) !important; }
html.rl-neu .sidebar .widget ul { list-style: none; padding: 0; margin: 0; }

/* ---------- Blog-Übersicht ---------- */
html.rl-neu .blog .inside-article, html.rl-neu .archive .inside-article, html.rl-neu .search .inside-article { padding: 30px 34px !important; }
html.rl-neu .blog .entry-header::before, html.rl-neu .archive .entry-header::before, html.rl-neu .search .entry-header::before { display: none; }
html.rl-neu .blog .entry-title, html.rl-neu .archive .entry-title, html.rl-neu .search .entry-title { font-size: 26px !important; }
html.rl-neu .read-more, html.rl-neu a.read-more { color: var(--orange) !important; font-weight: 700; }
html.rl-neu .post-image img { border-radius: 18px; }
html.rl-neu .paging-navigation a, html.rl-neu .nav-links a, html.rl-neu .page-numbers { color: var(--navy) !important; }
html.rl-neu .page-numbers.current { color: var(--orange) !important; font-weight: 800; }

/* Formulare (Kontakt, Suche) */
html.rl-neu input[type="text"], html.rl-neu input[type="email"], html.rl-neu input[type="tel"], html.rl-neu input[type="search"], html.rl-neu textarea, html.rl-neu select { font: 400 16px var(--body) !important; padding: 12px 14px !important; border: 2px solid var(--line) !important; border-radius: 14px !important; background: var(--cream) !important; color: var(--ink) !important; }
html.rl-neu input:focus, html.rl-neu textarea:focus { border-color: var(--orange) !important; outline: none; }
html.rl-neu input[type="submit"], html.rl-neu button[type="submit"]:not(.rl-btn) { background: var(--orange) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; padding: 14px 26px !important; font: 700 16px var(--body) !important; cursor: pointer; }

/* ---------- Angebots-Streifen + Fuß ---------- */
.rl-cta, .rl-fuss { display: none; }
html.rl-neu .rl-cta { display: block; position: relative; background: linear-gradient(180deg, var(--navy), #0a1424); color: #fff; padding: 70px 0; overflow: hidden; }
html.rl-neu .rl-cta::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(1.5px 1.5px at 20px 30px, #fff8, transparent), radial-gradient(1px 1px at 120px 80px, #fff6, transparent), radial-gradient(1.5px 1.5px at 200px 150px, #fff5, transparent); background-size: 260px 220px; opacity: .5; }
html.rl-neu .rl-wrap { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
html.rl-neu .rl-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
html.rl-neu .rl-cta h2 { color: #fff !important; font-size: clamp(30px, 4vw, 48px) !important; margin: 0 0 12px !important; }
html.rl-neu .rl-cta h2 em { font-style: normal; color: var(--orange); }
html.rl-neu .rl-cta p, html.rl-neu body .rl-cta p { color: #c7d2e0 !important; max-width: 38em; margin: 0; font-size: 17px; }
html.rl-neu .rl-cta .rl-hand { font: 600 26px/1 var(--hand); color: var(--amber) !important; margin-bottom: 10px; }
html.rl-neu .rl-cta .rl-btn { flex: none; }
html.rl-neu .rl-fuss { display: block; background: #fff; border-top: 1px solid var(--line); padding: 46px 0 26px; font-size: 15px; }
html.rl-neu .rl-fuss-in { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
html.rl-neu body .rl-fuss p { color: var(--muted) !important; margin: 12px 0 0; font-size: 14.5px; line-height: 1.6; }
html.rl-neu .rl-fuss nav a { display: block; color: var(--ink) !important; text-decoration: none !important; padding: 4px 0; font-size: 14.5px; }
html.rl-neu .rl-fuss nav a:hover { color: var(--orange) !important; }
html.rl-neu body .rl-fuss .rl-fuss-titel { font: 800 15px/1.2 var(--head); color: var(--navy) !important; margin: 4px 0 8px; }
html.rl-neu .rl-fuss-unten { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
html.rl-neu .rl-fuss-unten a { color: var(--muted) !important; text-decoration: none !important; }
html.rl-neu .rl-fuss-unten a:hover { color: var(--orange) !important; }

/* ---------- Tablet ---------- */
@media (max-width: 1060px) {
html.rl-neu .rl-menue { display: none; position: absolute; left: 12px; right: 12px; top: calc(100% + 6px); flex-direction: column; align-items: stretch; background: var(--navy); border-radius: 22px; padding: 12px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6); max-height: calc(100vh - 100px); overflow-y: auto; }
html.rl-neu .rl-menue.offen { display: flex; }
html.rl-neu .rl-menue ul { flex-direction: column; gap: 2px; }
html.rl-neu .rl-top { width: 100%; justify-content: space-between; font-size: 17px; padding: 14px 12px; }
html.rl-neu .rl-sub { position: static; transform: none !important; min-width: 0; opacity: 1; visibility: visible; display: none; background: rgba(255, 255, 255, .06); box-shadow: none; margin: 2px 0 8px; }
html.rl-neu .rl-hat-sub:hover .rl-sub { display: none; }
html.rl-neu .rl-hat-sub.offen .rl-sub { display: block; }
html.rl-neu .rl-sub a { color: #fff !important; }
html.rl-neu .rl-sub a:hover { background: rgba(255, 255, 255, .08); }
html.rl-neu .rl-sub small { color: #b9c6d6; }
html.rl-neu .rl-btn-m { display: inline-flex; justify-content: center; margin-top: 10px; }
html.rl-neu .rl-nav-cta { display: none; }
html.rl-neu .rl-burger { display: block; }
html.rl-neu .rl-kopf-in { position: relative; }
  html.rl-neu .site-content { flex-direction: column; align-items: stretch; }
  html.rl-neu .content-area { width: 100% !important; }
  html.rl-neu .widget-area.sidebar { position: static; width: 100% !important; flex-basis: auto; }
html.rl-neu .rl-fuss-in { grid-template-columns: 1fr 1fr; }
html.rl-neu .rl-cta-in { flex-direction: column; align-items: flex-start; }
}
/* ---------- Handy ---------- */
@media (max-width: 640px) {
html.rl-neu .rl-kopf-in { padding: 10px 14px; }
html.rl-neu .rl-logo { font-size: 22px; }
  html.rl-neu .site.grid-container, html.rl-neu #page { padding: 16px 12px 24px !important; }
  html.rl-neu .separate-containers .inside-article, html.rl-neu .inside-article { padding: 26px 18px !important; border-radius: 22px; }
  html.rl-neu .entry-content, html.rl-neu .entry-content p, html.rl-neu .entry-content li { font-size: 16.5px; }
  html.rl-neu .entry-content .alignright, html.rl-neu .entry-content .alignleft { float: none; display: block; margin: 12px auto; }
  html.rl-neu .entry-content table { display: block; overflow-x: auto; }
  html.rl-neu #dwik { padding: 20px 18px 6px; }
html.rl-neu .rl-fuss-in { grid-template-columns: 1fr; gap: 18px; }
html.rl-neu .rl-cta .rl-btn { width: 100%; justify-content: center; }
}

/* Cookie-Abfrage (Complianz) im neuen Look */
html.rl-neu .cmplz-cookiebanner { border-radius: 22px !important; font-family: var(--body) !important; box-shadow: 0 24px 60px -20px rgba(13, 27, 46, .5) !important; }
html.rl-neu .cmplz-cookiebanner .cmplz-title { font-family: var(--head) !important; font-weight: 800 !important; color: var(--navy) !important; }
html.rl-neu .cmplz-cookiebanner .cmplz-btn { border-radius: 999px !important; font-weight: 700 !important; }
html.rl-neu .cmplz-cookiebanner .cmplz-btn.cmplz-accept { background: var(--orange) !important; border-color: var(--orange) !important; color: #fff !important; }
