/* === ROZSA DESIGN v1.5 === */

:root {
  --rozsa-red: #C41920;
  --rozsa-dark: #111827;
  --rozsa-navy: #0D1B2E;
  --rozsa-text: #1F2937;
  --rozsa-muted: #4B5563;
  --rozsa-light: #F9FAFB;
}

/* ── BASE ── */
body { font-family: 'Roboto', sans-serif; color: var(--rozsa-text); overflow-x: hidden; }
h1,h2,h3,h4,h5,h6,.ast-site-title { font-family: 'Rubik', sans-serif; font-weight: 700; }

/* ── FULL-BLEED HACK ── */
.rozsa-hero,
.rozsa-usp-strip,
.rozsa-services,
.rozsa-trust,
.rozsa-cta {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  max-width: 100vw;
  box-sizing: border-box;
}

/* Remove Astra content padding on homepage */
.home .entry-content,
.home .ast-container .entry-content {
  padding: 0 !important; max-width: none !important;
  margin-left: 0 !important; margin-right: 0 !important;
}
.home .ast-article-single,
.home .ast-article-single-outer-wrap { padding-top: 0 !important; }

/* ── HEADER — clean, branded ── */
.ast-primary-header-bar {
  background: #ffffff !important;
  box-shadow: 0 1px 14px rgba(0,0,0,0.09) !important;
  border-bottom: none !important;
}
.custom-logo-link img.custom-logo {
  max-height: 56px !important; width: auto !important; display: block !important;
}
.main-navigation .menu-item > a,
.ast-hb-menu-1 .main-header-menu .menu-item > a {
  font-family: 'Rubik', sans-serif !important;
  font-weight: 500 !important;
  font-size: 14.5px !important;
  color: #1F2937 !important;
  padding: 0 13px !important;
  text-decoration: none !important;
}
.main-navigation .menu-item > a:hover,
.main-navigation .current-menu-item > a { color: #C41920 !important; }
.ast-site-title a { color: #111827 !important; font-family: 'Rubik', sans-serif !important; }

/* ── HOMEPAGE: hide page title (H1) that Astra renders above entry-content ── */
.home .entry-header,
.home .ast-post-title-wrap,
.home .ast-page-title-area,
.home .page-header { display: none !important; }
.home .entry-content { padding-top: 0 !important; margin-top: 0 !important; }

/* ── HERO — taller, 85vh min 640px ── */
.rozsa-hero {
  position: relative;
  min-height: max(640px, 82vh);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #0D1B2E;
}
.rozsa-hero-slides { position: absolute; inset: 0; z-index: 0; }
.rozsa-hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.5s ease;
}
.rozsa-hero-slide.active { opacity: 1; }
.rozsa-hero-slide:nth-child(1) { background-image: url('https://dima.auftrittsreich.de/wp-content/uploads/2026/04/hero1.webp'); background-position: center 40%; }
.rozsa-hero-slide:nth-child(2) { background-image: url('https://dima.auftrittsreich.de/wp-content/uploads/2026/04/hero2.webp'); }
.rozsa-hero-slide:nth-child(3) { background-image: url('https://dima.auftrittsreich.de/wp-content/uploads/2026/04/hero3.webp'); }

/* Overlay: 0.72 opacity → white contrast > 7:1 ✓ WCAG AAA */
.rozsa-hero-overlay {
  position: absolute; inset: 0;
  background: rgba(13,27,46,0.70);
  z-index: 1;
}

.rozsa-hero-content {
  position: relative; z-index: 2;
  color: #fff; padding: 2rem 1.5rem; max-width: 860px; width: 100%;
}
.rozsa-hero-content h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800; line-height: 1.18; margin-bottom: 1.1rem;
  color: #ffffff; text-shadow: none;
  letter-spacing: -0.01em;
}
.rozsa-hero-content .hero-sub {
  font-size: clamp(1rem, 2vw, 1.22rem);
  margin-bottom: 2.4rem;
  color: rgba(255,255,255,0.90);
  line-height: 1.65;
}

/* ── BUTTONS ── */
.rozsa-btn {
  display: inline-block; padding: 15px 36px;
  border-radius: 3px; font-family: 'Rubik', sans-serif;
  font-weight: 600; font-size: 1rem;
  text-decoration: none !important; transition: all 0.22s ease;
  border: 2px solid transparent; cursor: pointer;
}
/* White on #C41920 = 4.96:1 ✓ WCAG AA */
.rozsa-btn-primary { background: #C41920; color: #fff !important; border-color: #C41920; margin-right: 14px; }
.rozsa-btn-primary:hover { background: #9E141A; border-color: #9E141A; color: #fff !important; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(196,25,32,0.45); }
.rozsa-btn-secondary { background: transparent; color: #fff !important; border-color: rgba(255,255,255,0.85); }
.rozsa-btn-secondary:hover { background: rgba(255,255,255,0.11); border-color: #fff; color: #fff !important; }

/* ── USP STRIP — white on #C41920 = 4.96:1 ✓ ── */
.rozsa-usp-strip { background: #C41920; padding: 13px 16px; }
.rozsa-usp-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 6px 28px; font-family: 'Rubik', sans-serif;
  font-weight: 500; font-size: 0.9rem; color: #fff; letter-spacing: 0.01em;
}
.rozsa-usp-item::before { content: "✓  "; }

/* ── SERVICES SECTION — mit subtiler Hintergrund-Textur ── */
.rozsa-services {
  padding: 72px 0;
  /* Sanftes Bild: 94% weiß Overlay über moving-boxes Foto */
  background:
    linear-gradient(rgba(249,250,251,0.94), rgba(249,250,251,0.94)),
    url('https://dima.auftrittsreich.de/wp-content/uploads/2026/04/bg-services.jpg')
    center/cover fixed;
}

.rozsa-section-header { text-align: center; max-width: 680px; margin: 0 auto 3rem; padding: 0 16px; }
.rozsa-section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem); color: #111827; margin-bottom: 0.5rem; margin-top: 0;
}
.rozsa-section-sub { color: #4B5563; font-size: 1.02rem; line-height: 1.6; margin: 0; }

/* Grid: 3 Spalten auf Desktop */
.rozsa-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px; padding: 0 24px;
}

/* Card: #1F2937 on #fff = 14.2:1 ✓ */
.rozsa-card {
  background: #fff; border-radius: 8px; padding: 32px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: all 0.24s ease;
  text-decoration: none !important;
  color: #1F2937 !important; display: block;
  border-top: 4px solid transparent;
  border-bottom: 1px solid #E5E7EB;
}
.rozsa-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  border-top-color: #C41920;
  color: #1F2937 !important; text-decoration: none !important;
}
.rozsa-card * { text-decoration: none !important; }

/* SVG icon: #C41920 on #fff = 4.96:1 ✓ */
.rozsa-card-icon {
  color: #C41920; margin-bottom: 16px; display: block; line-height: 1;
}
.rozsa-card-icon svg { display: block; }
.rozsa-card h3 {
  font-size: 1.12rem; margin-bottom: 8px; color: #111827;
  font-family: 'Rubik', sans-serif; font-weight: 600;
}
.rozsa-card p { font-size: 0.9rem; color: #4B5563; line-height: 1.65; margin: 0; }

/* ── TRUST BAR — subtile Textur, hinterleuchtet ── */
.rozsa-trust {
  padding: 60px 0;
  background:
    linear-gradient(rgba(255,255,255,0.91), rgba(255,255,255,0.91)),
    url('https://dima.auftrittsreich.de/wp-content/uploads/2026/04/bg-hausmeis.jpg')
    center/cover;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
}
.rozsa-trust-inner {
  max-width: 1000px; margin: 0 auto;
  display: flex; justify-content: center;
  gap: 20px 60px; flex-wrap: wrap;
  text-align: center; padding: 0 20px;
}
.rozsa-trust-item strong {
  display: block; font-size: 2.4rem;
  font-family: 'Rubik', sans-serif; font-weight: 800; color: #C41920;
  line-height: 1;
}
/* #4B5563 on #fff = 7.0:1 ✓ */
.rozsa-trust-item span { font-size: 0.9rem; color: #4B5563; margin-top: 4px; display: block; }

/* ── CTA — dunkel mit Hintergrundbild ── */
.rozsa-cta {
  background:
    linear-gradient(rgba(13,27,46,0.88), rgba(13,27,46,0.88)),
    url('https://dima.auftrittsreich.de/wp-content/uploads/2026/04/hero3.webp')
    center/cover fixed;
  color: #fff; padding: 80px 20px; text-align: center;
}
.rozsa-cta h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 1rem; color: #fff;
}
.rozsa-cta p {
  font-size: 1.1rem; margin-bottom: 2.4rem;
  color: rgba(255,255,255,0.87); max-width: 580px;
  margin-left: auto; margin-right: auto; line-height: 1.65;
}

/* ── FOOTER — dunkel, sauber, KEIN Astra-Credit ── */
#colophon,
.site-footer,
.ast-footer-area { background: #0D1423 !important; }

.ast-small-footer {
  background: #070E1A !important;
  padding: 16px 0 !important;
  border-top: 1px solid rgba(255,255,255,0.07) !important;
}
.ast-small-footer-wrap { color: #6B7280 !important; font-size: 0.83rem; }
.ast-small-footer a { color: #9CA3AF !important; text-decoration: none; }
.ast-small-footer a:hover { color: #fff !important; }

/* Force-hide "Powered by Astra WordPress Theme" */
.ast-small-footer-copyright,
.ast-footer-overlay,
[class*="ast-footer-overlay"] { display: none !important; }

/* ── GLOBAL BUTTONS ── */
.ast-button,.wp-block-button__link,
input[type="submit"],button[type="submit"],.wpcf7-submit {
  background: #C41920 !important; border-color: #C41920 !important;
  color: #fff !important; font-family: 'Rubik', sans-serif !important;
  font-weight: 600 !important; border-radius: 3px !important;
  transition: all 0.22s !important;
}
.ast-button:hover,input[type="submit"]:hover,.wpcf7-submit:hover {
  background: #9E141A !important;
}

/* ── INNER PAGES ── */
.page:not(.home) .entry-header { padding: 48px 0 24px; text-align: center; }
.page:not(.home) .entry-title { font-size: clamp(1.9rem, 4vw, 2.8rem); color: #111827; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .rozsa-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .rozsa-hero { min-height: max(480px, 75vh); }
  .rozsa-hero-content { padding: 1.5rem 1rem; }
  .rozsa-btn { padding: 13px 24px; font-size: 0.93rem; display: block; margin: 8px auto; max-width: 260px; text-align: center; }
  .rozsa-btn-primary { margin-right: auto; }
  .rozsa-grid { grid-template-columns: 1fr; padding: 0 16px; }
  .rozsa-trust-inner { gap: 18px 32px; }
  .rozsa-section-title { font-size: 1.65rem; }
}
@media (max-width: 480px) {
  .rozsa-hero-content h1 { font-size: 1.8rem; }
  .rozsa-usp-inner { font-size: 0.81rem; gap: 5px 14px; }
  .rozsa-services { padding: 52px 0; }
}

/* ── FOOTER CREDIT FORCE HIDE ── */
.ast-small-footer-copyright { display: none !important; }
.ast-footer-overlay { display: none !important; }
.ast-footer-credits { display: none !important; }
/* Replace with our own copyright */
.ast-small-footer-wrap::after {
    content: 'Copyright  a9 2026 Rozsa '96 Umzug & Hausmeisterservice';
    display: block; text-align: center;
    font-size: 0.82rem; color: #6B7280;
    padding: 4px 0;
}

/* ── Hide Astra footer credit (correct selector) ── */
.ast-footer-copyright,
[data-section="section-footer-builder"],
a[href*="wpastra.com"],
a[href*="wpastra"] { display: none !important; }

/* ================================================================
   INNER PAGES — alle Unterseiten ausser Homepage
   ================================================================ */

/* Push content below fixed header */
body:not(.home) #page { margin-top: 78px; }

/* Page banner / hero strip */
body:not(.home) .ast-article-single-outer-wrap {
    padding-top: 0 !important;
}
body:not(.home) .entry-header {
    background: linear-gradient(135deg, #0D1B2E 0%, #1a2a4a 100%);
    padding: 56px 24px 48px !important;
    text-align: center;
    margin-bottom: 0 !important;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
}
body:not(.home) .entry-title {
    color: #ffffff !important;
    font-size: clamp(1.8rem, 4vw, 2.8rem) !important;
    font-family: 'Rubik', sans-serif !important;
    font-weight: 800 !important;
    margin: 0 !important;
    text-shadow: none;
}
body:not(.home) .ast-breadcrumbs-wrapper {
    margin-bottom: 8px !important;
}
body:not(.home) .ast-breadcrumbs-wrapper a,
body:not(.home) .ast-breadcrumbs-wrapper span {
    color: rgba(255,255,255,0.65) !important;
    font-size: 0.83rem;
}

/* Entry content max-width and padding */
body:not(.home) .entry-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 48px 24px 60px;
}

/* Inner page typography */
body:not(.home) .entry-content h1 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: #111827;
    border-bottom: 3px solid #C41920;
    padding-bottom: 10px;
    margin-bottom: 16px;
    font-family: 'Rubik', sans-serif;
}
body:not(.home) .entry-content h2 {
    font-size: clamp(1.25rem, 2.5vw, 1.7rem);
    color: #111827;
    margin-top: 40px;
    margin-bottom: 10px;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
}
body:not(.home) .entry-content h3 {
    font-size: 1.15rem;
    color: #1F2937;
    margin-top: 28px;
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
}
body:not(.home) .entry-content p {
    color: #374151;
    line-height: 1.75;
    font-size: 1rem;
    margin-bottom: 1rem;
}
body:not(.home) .entry-content a {
    color: #C41920;
    text-decoration: underline;
}
body:not(.home) .entry-content a:hover { color: #9E141A; }

body:not(.home) .entry-content ul,
body:not(.home) .entry-content ol {
    margin-left: 1.4rem;
    margin-bottom: 1rem;
}
body:not(.home) .entry-content li {
    color: #374151;
    line-height: 1.7;
    margin-bottom: 4px;
}
body:not(.home) .entry-content li::marker { color: #C41920; }

/* Service list styling on Leistungen page */
.rozsa-service-block {
    background: #F9FAFB;
    border-radius: 8px;
    padding: 24px 22px;
    margin-bottom: 16px;
    border-left: 4px solid #C41920;
}
.rozsa-service-block h2 {
    margin-top: 0 !important;
    color: #111827 !important;
    border: none !important;
    padding: 0 !important;
}
.rozsa-service-block p { margin-bottom: 0 !important; }
.rozsa-service-block a.rozsa-more {
    display: inline-block; margin-top: 10px;
    font-size: 0.88rem; font-weight: 600;
    color: #C41920 !important; text-decoration: none;
}
.rozsa-service-block a.rozsa-more:hover { text-decoration: underline; }

/* Inner page CTA */
.rozsa-inner-cta {
    background: #0D1B2E;
    color: #fff;
    border-radius: 8px;
    padding: 32px 28px;
    text-align: center;
    margin-top: 40px;
}
.rozsa-inner-cta h3 { color: #fff; font-size: 1.4rem; margin-bottom: 8px; }
.rozsa-inner-cta p { color: rgba(255,255,255,0.85); margin-bottom: 18px; }
.rozsa-inner-cta .rozsa-btn { background: #C41920; color: #fff !important; text-decoration: none; }


/* ── DESIGN DELTA v1.7 ── */
.rozsa-hero { min-height: max(640px, 85vh) !important; }
.rozsa-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 26px !important; }
@media (max-width: 1024px) { .rozsa-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 600px)  { .rozsa-grid { grid-template-columns: 1fr !important; } }
.rozsa-card { box-shadow: 0 3px 12px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04) !important; border-radius: 10px !important; }
.rozsa-card:hover { transform: translateY(-6px) !important; box-shadow: 0 16px 40px rgba(0,0,0,0.13) !important; }
.rozsa-card-icon { margin-bottom: 20px !important; }
.rozsa-card-icon svg { width: 38px !important; height: 38px !important; }
.rozsa-usp-strip { padding: 16px 20px !important; }
.rozsa-usp-inner { gap: 8px 36px !important; }
.rozsa-section-title { padding-bottom: 16px !important; position: relative !important; }
.rozsa-section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 52px; height: 3px; background: #C41920; border-radius: 2px; }


/* ── DESIGN DELTA v1.8 ── */

/* USP strip — single row on desktop, 2-col on mobile */
.rozsa-usp-inner { flex-wrap: nowrap !important; font-size: 0.82rem !important; }
@media (max-width: 768px) {
  .rozsa-usp-inner { flex-wrap: wrap !important; justify-content: center !important; }
  .rozsa-usp-item { flex: 1 1 45% !important; text-align: center !important; }
}

/* SVG icons — force brand red stroke */
.rozsa-card-icon svg { stroke: #C41920 !important; color: #C41920 !important; }

/* Card breathing room */
.rozsa-card { padding: 36px 30px !important; }
.rozsa-card p { line-height: 1.7 !important; margin-top: 6px !important; }

/* Trust numbers — bigger impact */
.rozsa-trust-item strong { font-size: 2.8rem !important; }
.rozsa-trust-item span { font-size: 0.88rem !important; font-weight: 500 !important; text-transform: uppercase !important; letter-spacing: 0.04em !important; color: #4B5563 !important; }

/* Hero subtitle — scale up */
.rozsa-hero-content .hero-sub { font-size: clamp(1.05rem, 1.9vw, 1.28rem) !important; }

/* Mobile hero tighter */
@media (max-width: 768px) {
  .rozsa-hero-content h1 { font-size: clamp(1.6rem, 7vw, 2.2rem) !important; margin-bottom: 0.8rem !important; }
  .rozsa-hero-content .hero-sub { font-size: 1rem !important; margin-bottom: 1.8rem !important; }
}


/* ── FOOTER ── */
.rozsa-footer {
  background: #0B1220;
  color: #D1D5DB;
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 56px 0 0;
}
.rozsa-footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; padding: 0 28px 48px;
}
.rozsa-footer-brand .rozsa-logo-text {
  font-family: 'Rubik', sans-serif; font-weight: 700;
  font-size: 1.2rem; color: #fff; display: block; margin-bottom: 4px;
}
.rozsa-footer-brand .rozsa-logo-sub {
  font-size: 0.78rem; color: #9CA3AF; display: block; margin-bottom: 16px;
}
.rozsa-footer-brand p {
  color: #9CA3AF; font-size: 0.85rem; line-height: 1.65;
  max-width: 280px; margin: 0 0 20px;
}
.rozsa-footer-brand img { max-height: 44px; width: auto; margin-bottom: 12px; filter: brightness(0) invert(1); }
.rozsa-footer-col h4 {
  font-family: 'Rubik', sans-serif; font-weight: 600;
  font-size: 0.88rem; color: #fff;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin: 0 0 14px;
}
.rozsa-footer-col ul { list-style: none; margin: 0; padding: 0; }
.rozsa-footer-col ul li { margin-bottom: 9px; }
.rozsa-footer-col ul li a {
  color: #9CA3AF; text-decoration: none;
  transition: color 0.15s;
}
.rozsa-footer-col ul li a:hover { color: #fff; }
.rozsa-footer-contact li { display: flex; gap: 8px; align-items: flex-start; }
.rozsa-footer-contact li span { color: #C41920; flex-shrink: 0; margin-top: 2px; }
.rozsa-footer-bar {
  background: #06090F;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 16px 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
  max-width: 100%;
}
.rozsa-footer-bar-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.rozsa-footer-bar span { color: #6B7280; font-size: 0.8rem; }
.rozsa-footer-bar a { color: #9CA3AF; font-size: 0.8rem; text-decoration: none; }
.rozsa-footer-bar a:hover { color: #fff; }
.rozsa-footer-bar-links { display: flex; gap: 20px; }

/* Force hide Astra footer */
#colophon, .site-footer, .ast-footer-area,
.ast-small-footer, .footer-widget-area,
[data-section="section-footer-builder"] { display: none !important; }

@media (max-width: 900px) {
  .rozsa-footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .rozsa-footer-inner { grid-template-columns: 1fr; gap: 24px; padding: 0 20px 36px; }
  .rozsa-footer-bar-inner { flex-direction: column; text-align: center; }
}


/* Kill Astra sticky-header padding that creates white gap */
body.ast-header-break-point { padding-top: 0 !important; }
.ast-header-break-point #page { margin-top: 0 !important; }
html { scroll-padding-top: 78px; }
/* Zero all entry-content top spacing on homepage */
.home .entry-content,
.home .ast-article-single,
.home .ast-article-single-outer-wrap,
.home #content,
.home .site-content { padding-top: 0 !important; margin-top: 0 !important; }


/* ── PAGE HERO IMAGES ── */
.rozsa-page-hero {
  width: 100vw; margin-left: calc(-50vw + 50%);
  height: 340px; position: relative;
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
}
.rozsa-page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(13,27,46,0.55) 0%, rgba(13,27,46,0.75) 100%);
}

/* Footer: red top accent + fix link colors */
.rozsa-footer { border-top: 4px solid #C41920 !important; }
.rozsa-footer-brand p a { color: #9CA3AF !important; text-decoration: none !important; }
.rozsa-footer-brand p { color: #9CA3AF !important; }
.rozsa-footer-col h4::after {
  content: ''; display: block; width: 24px; height: 2px;
  background: #C41920; margin-top: 8px; border-radius: 1px;
}


/* Per-page background images */
.page-id-8  .entry-header { background-image: url('https://dima.auftrittsreich.de/wp-content/uploads/2026/04/rz-umzug-hero.jpg'); background-position: center 40%; }
.page-id-9  .entry-header { background-image: url('https://dima.auftrittsreich.de/wp-content/uploads/2026/04/rz-entruempelung-hero.jpg'); background-position: center 30%; }
.page-id-10 .entry-header { background-image: url('https://dima.auftrittsreich.de/wp-content/uploads/2026/04/rz-hausmeister-hero.jpg'); background-position: center 25%; }
.page-id-7  .entry-header { background-image: url('https://dima.auftrittsreich.de/wp-content/uploads/2026/04/rz-leistungen-hero.jpg'); background-position: center 35%; }

/* ── INNER PAGE HERO HEADERS v2 ── */
.page:not(.home) .entry-header {
  position: relative !important;
  min-height: 280px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 90px 24px 64px !important;
  background-size: cover !important;
  background-position: center !important;
  background-color: #0D1B2E !important;
  overflow: hidden !important;
}
.page:not(.home) .entry-header::before {
  content: '' !important;
  position: absolute !important; inset: 0 !important;
  background: linear-gradient(135deg, rgba(13,27,46,0.80) 0%, rgba(13,27,46,0.62) 100%) !important;
  z-index: 0 !important;
}
.page:not(.home) .entry-header .ast-page-header-wrap,
.page:not(.home) .entry-header .entry-title {
  position: relative !important;
  z-index: 1 !important;
}
.page:not(.home) .entry-title {
  color: #fff !important;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem) !important;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4) !important;
  margin: 0 !important;
}

/* Background images per page — using background shorthand to override all */
body.page-id-8  .entry-header { background: url('https://dima.auftrittsreich.de/wp-content/uploads/2026/04/rz-umzug-hero.jpg') center 40% / cover no-repeat !important; }
body.page-id-9  .entry-header { background: url('https://dima.auftrittsreich.de/wp-content/uploads/2026/04/rz-entruempelung-hero.jpg') center 30% / cover no-repeat !important; }
body.page-id-10 .entry-header { background: url('https://dima.auftrittsreich.de/wp-content/uploads/2026/04/rz-hausmeister-hero.jpg') center 25% / cover no-repeat !important; }
body.page-id-7  .entry-header { background: url('https://dima.auftrittsreich.de/wp-content/uploads/2026/04/rz-leistungen-hero.jpg') center 35% / cover no-repeat !important; }


/* ── INNER PAGE CONTENT STYLING ── */
.page:not(.home) .entry-content {
  max-width: 860px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 2.5rem 1.5rem 3.5rem !important;
}
.page:not(.home) .entry-content h2 {
  margin-top: 0; margin-bottom: 1.6rem;
  color: #0D1B2E; font-family: 'Rubik', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}
.page:not(.home) .entry-content h3 {
  border-left: 4px solid #C41920;
  padding-left: 0.75rem;
  margin-top: 2.2rem; margin-bottom: 0.9rem;
  color: #0D1B2E; font-family: 'Rubik', sans-serif;
  font-weight: 600; font-size: 1.1rem;
}
.page:not(.home) .entry-content ul,
.page:not(.home) .entry-content ol {
  padding-left: 1.25rem; margin-bottom: 1.5rem;
}
.page:not(.home) .entry-content ul li,
.page:not(.home) .entry-content ol li {
  margin-bottom: 0.5rem; line-height: 1.75;
  color: #374151;
}
.page:not(.home) .entry-content ul li::marker { color: #C41920; }
.page:not(.home) .entry-content ol li::marker { color: #C41920; font-weight: 700; }
.page:not(.home) .entry-content p {
  line-height: 1.78; margin-bottom: 1.2rem; color: #374151;
}
.page:not(.home) .entry-content a {
  color: #C41920; text-decoration: none; font-weight: 500;
}
.page:not(.home) .entry-content a:hover { text-decoration: underline; }

/* ── KILL HEADER GAP — #primary margin-top ── */
#primary { margin-top: 0 !important; }
#masthead { display: none !important; height: 0 !important; }
#page { margin-top: 78px !important; padding-top: 0 !important; }
@media (max-width: 920px) { #page { margin-top: 0 !important; } }


/* ── KILL HOME ENTRY-HEADER BOX ── */
.home .entry-header,
.home .ast-page-header-main-outer-wrap,
.home .ast-no-thumbnail.ast-no-title { display: none !important; height: 0 !important; min-height: 0 !important; overflow: hidden !important; }
