/*
Theme Name:  Astra Child – Strohmayr
Template:    astra
Version:     1.1.8
Description: Astra Child Theme for Christian Strohmayr
*/

/* ============================================================
   GLOBAL: Dark background on blog, archive, single, page, search
   (NOT on homepage template — that has its own full-page CSS)
   ============================================================ */
body.blog,
body.archive,
body.single,
body.single-post,
body.page:not(.page-template-page-home-neu),
body.search,
body.error404 {
  background: #030c1c !important;
  color: #c8d8f0;
}

body.blog .site-content,
body.archive .site-content,
body.single .site-content,
body.single-post .site-content,
body.page:not(.page-template-page-home-neu) .site-content,
body.blog #content,
body.archive #content,
body.single #content,
body.single-post #content,
body.page:not(.page-template-page-home-neu) #content,
body.blog #page,
body.archive #page,
body.single #page,
body.page:not(.page-template-page-home-neu) #page,
body.blog .ast-site-content-wrap,
body.archive .ast-site-content-wrap,
body.single .ast-site-content-wrap,
body.page:not(.page-template-page-home-neu) .ast-site-content-wrap {
  background: transparent !important;
}

body.blog .ast-separate-container,
body.archive .ast-separate-container,
body.single .ast-separate-container,
body.page:not(.page-template-page-home-neu) .ast-separate-container {
  background: transparent !important;
}

body.blog h1, body.archive h1, body.single h1,
body.page:not(.page-template-page-home-neu) h1,
body.blog h2, body.archive h2, body.single h2,
body.page:not(.page-template-page-home-neu) h2,
body.blog h3, body.archive h3, body.single h3,
body.page:not(.page-template-page-home-neu) h3,
body.blog h4, body.archive h4, body.single h4,
body.page:not(.page-template-page-home-neu) h4,
body.blog h5, body.archive h5, body.single h5,
body.page:not(.page-template-page-home-neu) h5,
body.blog h6, body.archive h6, body.single h6,
body.page:not(.page-template-page-home-neu) h6 { color: #eef5ff; }

body.blog p, body.archive p, body.single p,
body.page:not(.page-template-page-home-neu) p,
body.blog li, body.archive li, body.single li,
body.page:not(.page-template-page-home-neu) li { color: rgba(200, 216, 240, 0.85); }

body.blog a, body.archive a,
body.page:not(.page-template-page-home-neu) a { color: #8fbdf9; }
body.blog a:hover, body.archive a:hover,
body.page:not(.page-template-page-home-neu) a:hover { color: #f3c553; }

body.blog #primary,
body.archive #primary,
body.single #primary,
body.page:not(.page-template-page-home-neu) #primary { padding-top: 3rem; padding-bottom: 4rem; }

/* ============================================================
   GLOBAL ASTRA HEADER
   ============================================================ */
.ast-primary-header-bar.main-header-bar {
  background: rgba(3, 10, 28, 0.95) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(143, 189, 249, 0.08);
}
.ast-mobile-header-content {
  background: rgba(3, 10, 28, 0.97) !important;
  backdrop-filter: blur(14px);
}
.ast-menu-toggle, button.menu-toggle, .ast-mobile-header-wrap button {
  color: #eef5ff !important;
}
.main-navigation .menu-link, .ast-nav-menu .menu-link, .main-header-menu > li > a {
  color: rgba(230, 242, 255, 0.88) !important;
}
.main-navigation .menu-link:hover, .ast-nav-menu .menu-link:hover { color: #f3c553 !important; }
.main-header-menu .current-menu-item > a, .ast-nav-menu .current-menu-item > .menu-link { color: #f3c553 !important; }
.main-header-menu .sub-menu {
  background: rgba(3, 10, 28, 0.98) !important;
  border: 1px solid rgba(143, 189, 249, 0.14) !important;
  border-radius: 12px;
}
.main-header-menu .sub-menu li a { color: rgba(230, 242, 255, 0.82) !important; }
.main-header-menu .sub-menu li a:hover { color: #f3c553 !important; background: rgba(255,255,255,0.04) !important; }
.ast-builder-layout-element .ast-custom-button, .main-header-bar .ast-custom-button a {
  background: #f3c553 !important;
  color: #030c1c !important;
  border-radius: 8px;
  border: none !important;
}
a.header-cta, .site-header a.header-cta, a.header-cta:hover { color: #1b1302 !important; }
.btn-primary, .btn-primary:hover { color: #1d1504 !important; }

/* Keep custom animated menu look consistent on all pages */
#site-header .main-nav a {
  color: rgba(230, 242, 255, 0.86) !important;
}
#site-header .main-nav a:hover,
#site-header .main-nav a:focus-visible {
  color: #eef5ff !important;
}

/* ============================================================
   NON-HOME MENU SYNC
   Keep the new custom header menu and fully hide Astra header
   on Blog / Impressum / Datenschutz / other non-home pages.
   ============================================================ */
body:not(.page-template-page-home-neu) #masthead,
body:not(.page-template-page-home-neu) #ast-fixed-header,
body:not(.page-template-page-home-neu) #ast-desktop-header,
body:not(.page-template-page-home-neu) #ast-mobile-header,
body:not(.page-template-page-home-neu) .ast-main-header-wrap,
body:not(.page-template-page-home-neu) .ast-mobile-header-wrap {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  min-height: 0 !important;
}

body:not(.page-template-page-home-neu) #site-header.site-header {
  display: block !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 10000 !important;
}

body:not(.page-template-page-home-neu).admin-bar #site-header.site-header {
  top: 32px !important;
}

@media (max-width: 782px) {
  body:not(.page-template-page-home-neu).admin-bar #site-header.site-header {
    top: 46px !important;
  }
}

body:not(.page-template-page-home-neu) #site-header .header-inner {
  width: min(1280px, 94vw) !important;
  margin-inline: auto !important;
}

body:not(.page-template-page-home-neu) #primary.content-area {
  padding-top: 5.8rem !important;
}

/* ============================================================
   GLOBAL ASTRA FOOTER
   ============================================================ */
.site-primary-footer-wrap, .site-below-footer-wrap, .site-footer, #colophon {
  background: #01070f !important;
  border-top: 1px solid rgba(143, 189, 249, 0.1) !important;
  color: rgba(143, 189, 249, 0.55) !important;
}
.site-footer *, .site-primary-footer-wrap *, .site-below-footer-wrap * { color: rgba(143, 189, 249, 0.55) !important; }
.site-footer a, .site-primary-footer-wrap a, .site-below-footer-wrap a { color: rgba(143, 189, 249, 0.7) !important; text-decoration: none; }
.site-footer a:hover, .site-primary-footer-wrap a:hover { color: #f3c553 !important; }
.site-footer img, .site-primary-footer-wrap img { opacity: 0.75; filter: brightness(1.2); }
.site-footer .widget-title, .site-primary-footer-wrap .widget-title {
  color: #eef5ff !important; font-size: 0.88rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.8rem;
}

/* ============================================================
   SIDEBAR — show on blog/archive/single, hide on static pages
   ============================================================ */
/* Hide sidebar on plain pages (not blog/single/archive) */
body.page:not(.page-template-page-home-neu) #secondary.widget-area { display: none !important; }
body.page:not(.page-template-page-home-neu) #primary.content-area { width: 100% !important; }

/* Explicitly show on blog/archive/single */
body.blog #secondary,
body.archive #secondary,
body.single #secondary,
body.single-post #secondary { display: block !important; }

/* Sidebar widget — premium dark card */
#secondary .widget {
  background: linear-gradient(145deg, #0e2040 0%, #0a1929 100%) !important;
  border: 1px solid rgba(243, 197, 83, 0.22) !important;
  border-radius: 12px !important;
  padding: 1.4rem !important;
  margin-bottom: 1.6rem !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.45) !important;
}
#secondary .widget-title {
  color: #f3c553 !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  margin-bottom: 0.9rem !important;
  padding-bottom: 0.6rem !important;
  border-bottom: 1px solid rgba(243,197,83,0.2) !important;
}
#secondary .widget .wp-block-heading,
#secondary .widget h2,
#secondary .widget h3 {
  color: #f3c553 !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  margin-bottom: 0.9rem !important;
  border-bottom: 1px solid rgba(243,197,83,0.2) !important;
  padding-bottom: 0.6rem !important;
}
#secondary .widget ul { margin: 0 !important; padding: 0 !important; list-style: none !important; }
#secondary .widget ul li { padding: 0.35rem 0 !important; border-bottom: 1px solid rgba(255,255,255,0.05) !important; }
#secondary .widget ul li:last-child { border-bottom: none !important; }
#secondary .widget ul li a { color: rgba(180, 210, 240, 0.82) !important; font-size: 0.94rem !important; line-height: 1.55 !important; text-decoration: none !important; }
#secondary .widget ul li a:hover { color: #f3c553 !important; }
#secondary .widget_search .search-field {
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(143,189,249,0.2) !important;
  border-radius: 8px !important;
  color: #eef5ff !important;
  padding: 0.55rem 0.9rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin-bottom: 0.5rem !important;
}
#secondary .widget_search .search-field::placeholder { color: rgba(180,210,240,0.4) !important; }
#secondary .widget_search .search-submit {
  background: #f3c553 !important;
  color: #030c1c !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 0.55rem 1.2rem !important;
  cursor: pointer !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  width: 100% !important;
}
#secondary .tagcloud a {
  background: rgba(243,197,83,0.08) !important;
  color: rgba(180,210,240,0.85) !important;
  border: 1px solid rgba(243,197,83,0.18) !important;
  border-radius: 20px !important;
  padding: 0.22rem 0.7rem !important;
  font-size: 0.78rem !important;
  display: inline-block !important;
  margin: 0.15rem !important;
  text-decoration: none !important;
  line-height: 1.6 !important;
}
#secondary .tagcloud a:hover { background: rgba(243,197,83,0.22) !important; color: #f3c553 !important; }
#secondary .widget ul li .post-count { color: rgba(243,197,83,0.55) !important; font-size: 0.75rem !important; }

/* ============================================================
   ELEMENTOR PAGES (transparent containers)
   ============================================================ */
body.page:not(.page-template-page-home-neu) .e-con,
body.page:not(.page-template-page-home-neu) .e-con-boxed,
body.page:not(.page-template-page-home-neu) .elementor-section,
body.page:not(.page-template-page-home-neu) .elementor-container,
body.page:not(.page-template-page-home-neu) .elementor-column,
body.page:not(.page-template-page-home-neu) .elementor-widget-container { background-color: transparent !important; background: transparent !important; }
body.page:not(.page-template-page-home-neu) .elementor-heading-title { color: #eef5ff !important; }
body.page:not(.page-template-page-home-neu) .elementor-widget-text-editor p,
body.page:not(.page-template-page-home-neu) .elementor-text-editor p,
body.page:not(.page-template-page-home-neu) .elementor-widget-text-editor li { color: rgba(200, 216, 240, 0.85) !important; }
body.page:not(.page-template-page-home-neu) .elementor-widget-text-editor a { color: #f3c553 !important; }
body.page:not(.page-template-page-home-neu) .elementor-divider-separator { border-color: rgba(143, 189, 249, 0.2) !important; }

/* ============================================================
   IMPRESSUM & DATENSCHUTZ — via body class + page-id fallback
   ============================================================ */
/* Body classes for Impressum: .page-id-591, .page-slug-impressum, .impressum */
.page-id-591 .site-main,
.page-slug-impressum .site-main,
.page-id-591 #content,
.page-slug-impressum #content,
.page-id-591 .entry-content,
.page-slug-impressum .entry-content {
  max-width: 860px !important; width: 92vw !important; margin-inline: auto !important;
}
.page-id-591 .elementor-element-f9c6422,
.page-id-591 .e-con.e-child.e-con-full,
.page-slug-impressum .e-con.e-child.e-con-full {
  width: 100% !important; max-width: 100% !important; flex-basis: 100% !important; flex: 0 0 100% !important;
}
.page-id-591 .elementor-widget-text-editor,
.page-slug-impressum .elementor-widget-text-editor { width: 100% !important; max-width: 100% !important; }

/* Text styling */
.page-id-591 .elementor-widget-text-editor,
.page-slug-impressum .elementor-widget-text-editor,
.page-id-591 .elementor-widget-text-editor p,
.page-slug-impressum .elementor-widget-text-editor p,
.page-id-591 .elementor-widget-text-editor li,
.page-slug-impressum .elementor-widget-text-editor li,
.page-id-591 .elementor-widget-text-editor span,
.page-slug-impressum .elementor-widget-text-editor span { color: #cfe0f5 !important; line-height: 1.75 !important; }

.page-id-591 .elementor-widget-text-editor a,
.page-slug-impressum .elementor-widget-text-editor a { color: #f3c553 !important; }

/* Force ALL headings white — includes H5/H6 with black inline styles */
.page-id-591 h1, .page-slug-impressum h1,
.page-id-591 h2, .page-slug-impressum h2,
.page-id-591 h3, .page-slug-impressum h3,
.page-id-591 h4, .page-slug-impressum h4,
.page-id-591 h5, .page-slug-impressum h5,
.page-id-591 h6, .page-slug-impressum h6,
.page-id-591 .elementor-widget-text-editor h1,
.page-slug-impressum .elementor-widget-text-editor h1,
.page-id-591 .elementor-widget-text-editor h2,
.page-slug-impressum .elementor-widget-text-editor h2,
.page-id-591 .elementor-widget-text-editor h3,
.page-slug-impressum .elementor-widget-text-editor h3,
.page-id-591 .elementor-widget-text-editor h4,
.page-slug-impressum .elementor-widget-text-editor h4,
.page-id-591 .elementor-widget-text-editor h5,
.page-slug-impressum .elementor-widget-text-editor h5,
.page-id-591 .elementor-widget-text-editor h6,
.page-slug-impressum .elementor-widget-text-editor h6 {
  color: #ffffff !important;
  background: transparent !important;
  background-color: transparent !important;
  -webkit-text-fill-color: #ffffff !important;
}
.page-id-591 .elementor-heading-title,
.page-slug-impressum .elementor-heading-title { color: #fff !important; }
.page-id-591 .elementor-element-f9c6422 { --width: 100%; --flex-grow: 1; --flex-shrink: 1; --flex-basis: 0%; min-width: 0; }
.page-id-591 .e-con.e-child,
.page-slug-impressum .e-con.e-child { --width: 100%; }

.page-id-591 h1,
.page-slug-impressum h1,
.page-slug-datenschutz h1,
.page-id-591 .elementor-heading-title,
.page-slug-impressum .elementor-heading-title,
.page-slug-datenschutz .elementor-heading-title {
  font-size: clamp(2rem, 5.8vw, 3.25rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.01em !important;
  text-align: center !important;
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

.page-id-591 .elementor-widget-heading,
.page-slug-impressum .elementor-widget-heading,
.page-slug-datenschutz .elementor-widget-heading {
  width: 100% !important;
  max-width: 100% !important;
}

.page-id-591 .entry-content [style*="color"],
.page-slug-impressum .entry-content [style*="color"],
.page-slug-datenschutz .entry-content [style*="color"] {
  color: #cfe0f5 !important;
  -webkit-text-fill-color: #cfe0f5 !important;
}

.page-id-591 .entry-content h1 [style*="color"],
.page-slug-impressum .entry-content h1 [style*="color"],
.page-slug-datenschutz .entry-content h1 [style*="color"],
.page-id-591 .entry-content h2 [style*="color"],
.page-slug-impressum .entry-content h2 [style*="color"],
.page-slug-datenschutz .entry-content h2 [style*="color"] {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Datenschutz — mirror of Impressum via slug/id */
.page-slug-datenschutz h1, .page-slug-datenschutz h2,
.page-slug-datenschutz h3, .page-slug-datenschutz h4,
.page-slug-datenschutz h5, .page-slug-datenschutz h6 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.page-slug-datenschutz .elementor-widget-text-editor p,
.page-slug-datenschutz .elementor-widget-text-editor li { color: #cfe0f5 !important; line-height: 1.75 !important; }
.page-slug-datenschutz .elementor-widget-text-editor a { color: #f3c553 !important; }
.page-slug-datenschutz .elementor-heading-title { color: #fff !important; }

/* ============================================================
   BLOG ARCHIVE — header spacing + premium cards
   ============================================================ */
/* Blog page title block — add top spacing */
body.blog .ast-blog-layout-1 .ast-container,
body.blog .site-content.ast-grid-row,
body.blog #main.site-main {
  padding-top: 0 !important;
}

body.blog #primary.content-area,
body.archive #primary.content-area {
  padding-top: 0.95rem !important;
}

/* Blog page heading via pseudo-element */
body.blog #primary::before {
  content: 'Blog & Impulse';
  display: block;
  font-family: 'Syne', 'Inter', system-ui, sans-serif;
  font-size: clamp(2.7rem, 5vw, 4.2rem);
  font-weight: 800;
  color: #eef5ff;
  text-align: center;
  padding: 0.75rem 0 1.2rem;
  letter-spacing: -0.02em;
}
body.blog #primary::after {
  content: 'Gedanken zu KI, Strategie und digitaler Transformation';
  display: block;
  font-size: 1.05rem;
  color: rgba(143, 189, 249, 0.7);
  text-align: center;
  margin-bottom: 3.6rem;
}

body.blog #secondary,
body.archive #secondary,
body.single #secondary,
body.single-post #secondary {
  margin-top: 6rem !important;
}

body.blog .ast-article-post,
body.archive .ast-article-post {
  background: linear-gradient(145deg, #0f2344 0%, #0a1929 100%) !important;
  border: 1px solid rgba(243, 197, 83, 0.25) !important;
  border-radius: 14px !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-shadow: 0 6px 32px rgba(0,0,0,0.55) !important;
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease !important;
  margin-bottom: 2rem !important;
}

/* Brighter ambient blog background so it matches homepage style */
body.blog::before,
body.archive::before,
body.single::before,
body.single-post::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 16% 14%, rgba(87, 154, 255, 0.19), transparent 46%),
    radial-gradient(circle at 84% 24%, rgba(243, 197, 83, 0.11), transparent 38%),
    linear-gradient(160deg, rgba(4, 13, 31, 0.55), rgba(4, 13, 31, 0.92));
}
body.blog .ast-article-post:hover,
body.archive .ast-article-post:hover {
  border-color: rgba(243, 197, 83, 0.55) !important;
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 52px rgba(0,0,0,0.65) !important;
}
body.blog .ast-article-post .post-thumb img,
body.archive .ast-article-post .post-thumb img {
  width: 100% !important; height: 210px !important; object-fit: cover !important; display: block !important;
}
body.blog .ast-article-post .ast-blog-single-element,
body.archive .ast-article-post .ast-blog-single-element {
  padding-left: 1.4rem !important; padding-right: 1.4rem !important;
}
body.blog .ast-article-post .entry-title a,
body.archive .ast-article-post .entry-title a {
  color: #e8f0fa !important;
  font-size: clamp(1.24rem, 2vw, 1.58rem) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.01em !important;
  text-decoration: none !important;
}
body.blog .ast-article-post .entry-title a:hover,
body.archive .ast-article-post .entry-title a:hover { color: #f3c553 !important; }
body.blog .ast-article-post .entry-meta,
body.archive .ast-article-post .entry-meta { color: rgba(155, 185, 220, 0.5) !important; font-size: 0.76rem !important; }
body.blog .ast-article-post .entry-summary p,
body.archive .ast-article-post .entry-summary p { color: rgba(140, 175, 215, 0.8) !important; font-size: 0.96rem !important; line-height: 1.66 !important; }
body.blog .ast-article-post .ast-read-more,
body.archive .ast-article-post .ast-read-more,
body.blog .ast-read-more,
body.archive .ast-read-more {
  color: #f3c553 !important; font-weight: 600 !important; font-size: 0.8rem !important;
  text-transform: uppercase !important; letter-spacing: 0.07em !important;
  margin-bottom: 1.5rem !important; display: inline-block !important;
}
body.blog .ast-read-more:hover, body.archive .ast-read-more:hover { color: #fff !important; }
body.blog .no-results .page-title { color: #eef5ff !important; text-align: center; padding-top: 2rem; }

/* ============================================================
   SINGLE BLOG POST — premium gradient card
   ============================================================ */
body.single-post, body.single { background: #030c1c !important; }
body.single .hentry, body.single article.post { background: transparent !important; box-shadow: none !important; border: none !important; }

body.single .ast-article-single:not(.ast-related-post),
body.single-post .ast-article-single:not(.ast-related-post),
.single.ast-separate-container .ast-article-single:not(.ast-related-post) {
  background: linear-gradient(160deg, #0e2040 0%, #0b1a30 60%, #07111e 100%) !important;
  border: 1px solid rgba(243,197,83,0.18) !important;
  border-top: 3px solid rgba(243,197,83,0.55) !important;
  border-radius: 0 0 16px 16px !important;
  padding: 2.5rem 3rem !important;
  box-shadow: 0 8px 52px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.04) !important;
}
body.single .entry-title,
body.single-post .entry-title {
  color: #ffffff !important;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem) !important;
  line-height: 1.2 !important;
  padding-bottom: 1rem !important;
  border-bottom: 1px solid rgba(243,197,83,0.15) !important;
  margin-bottom: 0.8rem !important;
}

/* Defensive fallback: force home-section text colors against Astra overrides */
body .hero-title,
body .hero-title .word,
body .section-title,
body .impact-title,
body .process-flow-item h3,
body .academy-card h3,
body .home-blog-title a,
body .manifesto-line {
  color: #eef5ff !important;
}
body .hero-title .accent,
body .manifesto-line strong,
body .proof-number {
  color: #f3c553 !important;
}
body .hero-lead,
body .section-sub,
body .impact-text,
body .hero-points li,
body .proof-label,
body .home-blog-excerpt,
body .stage-copy p {
  color: rgba(206, 223, 246, 0.92) !important;
}
body.single .entry-meta, body.single-post .entry-meta { color: rgba(160,190,220,0.5) !important; font-size: 0.82rem !important; margin-bottom: 2rem !important; }
body.single .entry-content p, body.single-post .entry-content p { color: #c5d8ee !important; font-size: 1.05rem !important; line-height: 1.85 !important; margin-bottom: 1.2rem !important; }
body.single .entry-content h2, body.single-post .entry-content h2 {
  color: #ffffff !important; margin-top: 2.5rem !important; margin-bottom: 0.8rem !important;
  font-size: 1.4rem !important; padding-left: 0.75rem !important; border-left: 3px solid #f3c553 !important;
}
body.single .entry-content h3, body.single-post .entry-content h3,
body.single .entry-content h4, body.single-post .entry-content h4 { color: #e2eefc !important; margin-top: 2rem !important; margin-bottom: 0.6rem !important; }
body.single .entry-content strong, body.single-post .entry-content strong { color: #e8f4ff !important; }
body.single .entry-content a, body.single-post .entry-content a { color: #f3c553 !important; }
body.single .entry-content a:hover, body.single-post .entry-content a:hover { color: #ffd97d !important; }
body.single .entry-content blockquote, body.single-post .entry-content blockquote {
  border-left: 3px solid #f3c553 !important; padding-left: 1.5rem !important;
  margin-left: 0 !important; color: #8fbdf9 !important; font-style: italic !important;
}

/* Featured image */
.ast-post-featured-img { display: block !important; width: 100% !important; margin-bottom: 2rem !important; border-radius: 10px !important; overflow: hidden !important; }
.ast-post-featured-img img { width: 100% !important; height: auto !important; max-height: 460px !important; object-fit: cover !important; border-radius: 10px !important; display: block !important; }
body.single .ast-post-navigation, body.single-post .ast-post-navigation { margin-top: 2rem !important; border-top: 1px solid rgba(243,197,83,0.12) !important; padding-top: 1.5rem !important; }

/* ============================================================
   COMMENT FORM — dark styling (no gray Astra defaults)
   ============================================================ */
body.single #respond,
body.single-post #respond,
body.single .comment-respond,
body.single-post .comment-respond {
  background: linear-gradient(145deg, #0e2040 0%, #0a1929 100%) !important;
  border: 1px solid rgba(243, 197, 83, 0.15) !important;
  border-radius: 14px !important;
  padding: 2rem 2rem 1.5rem !important;
  margin-top: 2.5rem !important;
  box-shadow: 0 6px 32px rgba(0,0,0,0.4) !important;
}
body.single #respond .comment-reply-title,
body.single-post #respond .comment-reply-title {
  color: #eef5ff !important;
  font-size: 1.1rem !important;
  margin-bottom: 1.2rem !important;
}
body.single #respond .comment-form textarea,
body.single-post #respond .comment-form textarea,
body.single #respond .comment-form input[type="text"],
body.single-post #respond .comment-form input[type="text"],
body.single #respond .comment-form input[type="email"],
body.single-post #respond .comment-form input[type="email"],
body.single #respond .comment-form input[type="url"],
body.single-post #respond .comment-form input[type="url"] {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(143, 189, 249, 0.2) !important;
  color: #eef5ff !important;
  border-radius: 8px !important;
  padding: 0.75rem 0.9rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
  font-size: 0.95rem !important;
  transition: border-color 0.2s ease !important;
}
body.single #respond .comment-form textarea,
body.single-post #respond .comment-form textarea { min-height: 130px !important; resize: vertical !important; }
body.single #respond .comment-form textarea:focus,
body.single-post #respond .comment-form textarea:focus,
body.single #respond .comment-form input:focus,
body.single-post #respond .comment-form input:focus {
  border-color: rgba(243, 197, 83, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(243, 197, 83, 0.1) !important;
  outline: none !important;
}
body.single #respond .comment-form label,
body.single-post #respond .comment-form label { color: rgba(180, 210, 240, 0.75) !important; font-size: 0.85rem !important; }
body.single #respond .form-submit .submit,
body.single-post #respond .form-submit .submit {
  background: linear-gradient(180deg, #ffd97d, #f3c553) !important;
  color: #1d1504 !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 0.75rem 2rem !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  cursor: pointer !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
body.single #respond .form-submit .submit:hover,
body.single-post #respond .form-submit .submit:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(243, 197, 83, 0.35) !important;
}

/* Existing comments list */
body.single .comment-list,
body.single-post .comment-list { margin-top: 2rem !important; }
body.single .comment-list .comment-body,
body.single-post .comment-list .comment-body {
  background: rgba(14, 32, 64, 0.6) !important;
  border: 1px solid rgba(143, 189, 249, 0.12) !important;
  border-radius: 10px !important;
  padding: 1.2rem 1.4rem !important;
  margin-bottom: 1rem !important;
}
body.single .comment-list .comment-author .fn,
body.single-post .comment-list .comment-author .fn { color: #f3c553 !important; }
body.single .comment-list .comment-content p,
body.single-post .comment-list .comment-content p { color: #c5d8ee !important; }
body.single .comment-list time,
body.single-post .comment-list time { color: rgba(155, 185, 220, 0.45) !important; font-size: 0.8rem !important; }

/* ============================================================
   REVEAL / SCROLL ANIMATIONS — NO blur, NO filter
   ============================================================ */
body.page-template-page-home-neu .reveal {
  opacity: 0;
  transform: translateY(22px);
  filter: none;
  will-change: transform, opacity;
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 768px) {
  body.blog #secondary,
  body.archive #secondary,
  body.single #secondary { width: 100% !important; margin-top: 2rem !important; }
  body.single .ast-article-single:not(.ast-related-post),
  body.single-post .ast-article-single:not(.ast-related-post) { padding: 1.5rem 1.2rem !important; }
  body.blog #primary::before { font-size: 2.35rem; padding: 0.65rem 0 0.55rem; }
  body.blog #primary::after { font-size: 0.9rem; margin-bottom: 1.5rem; }
}

@media (max-width: 640px) {
  .page-id-591 h1,
  .page-slug-impressum h1,
  .page-slug-datenschutz h1,
  .page-id-591 .elementor-heading-title,
  .page-slug-impressum .elementor-heading-title,
  .page-slug-datenschutz .elementor-heading-title {
    white-space: normal !important;
    font-size: clamp(1.7rem, 8.2vw, 2.4rem) !important;
  }
}

@media (max-width: 959px) {
  body.page-template-page-home-neu .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
