/* ──────────────────────────────────────────────
   Energie in Harmonie — eih.css
   Migriert aus eih-custom.css (v4.1)
   Stand: 2026-05 (Laravel-Neuaufbau)
   ────────────────────────────────────────────── */

/* ── 0. CUSTOM PROPERTIES ── */
:root {
  --eih-primary: #2E0066;
  --eih-body-text: #3D1A6E;
  --eih-accent: #D4A574;
  --eih-hover: #8B5CF6;
  --eih-nav-hover: #a67e8f;
  --eih-bg: #F5D5A0;
  --eih-meta: #7C6B99;
  --eih-white: rgba(255, 255, 255, 0.95);
  --eih-button-hover: #2E0066;
  --eih-card-bg: rgba(46, 0, 102, 0.08);
  --eih-soft-border: #E8D1A8;

  --font-body: Georgia, 'Times New Roman', serif;
  --font-heading: Georgia, 'Times New Roman', serif;
}


/* ── 0.5 RESET / BOX-SIZING ── */
*, *::before, *::after {
  box-sizing: border-box;
}

/* ── 1. GRUNDLEGENDE TYPOGRAFIE ── */

body {
  font-family: var(--font-body);
  color: var(--eih-body-text);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p {
  margin-bottom: 0.6em;
}

h1, h2, h3, h4, h5, h6,
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 {
  font-family: var(--font-heading) !important;
  color: var(--eih-primary);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.6em;
}

h1, .entry-content h1 { font-size: 2.5em !important; margin-top: 1.2em !important; margin-bottom: 0.75em !important; }
h2, .entry-content h2 { font-size: 1.75em !important; }
h3, .entry-content h3 { font-size: 1.5em !important; }
h4, .entry-content h4 { font-size: 1.3em !important; }
h5, .entry-content h5 { font-size: 1.1em !important; }
h6, .entry-content h6 { font-size: 1.0em !important; }

a {
  color: var(--eih-primary);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

a:hover {
  color: var(--eih-hover);
}

strong, b {
  font-weight: 700;
}

.eih-text-meta {
  color: var(--eih-meta);
}


/* ── 2. HINTERGRUNDBILD ── */

body {
  background-image: url("/images/bg-energie-harmonie.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

main,
.eih-content {
  background: transparent;
}


/* ── 3  HEADER ── */

.site-header.eih-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 248, 235, 0.97);
  border-bottom: 1px solid rgba(46, 0, 102, 0.08);
  padding: 0;
}

.eih-header-top {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px 4px;
}

.eih-header-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.eih-header-logo {
  height: 28px;
  width: auto;
}

.eih-header-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.95rem;
  font-weight: bold;
  color: var(--eih-primary);
  line-height: 1.2;
  white-space: nowrap;
}

.eih-header-nav {
  display: flex;
  justify-content: center;
  padding: 0 20px 6px;
}

.eih-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
}

.eih-nav-list li a {
  display: block;
  padding: 5px 12px;
  border-radius: 20px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.8rem;
  color: var(--eih-primary);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.eih-nav-list li a:hover {
  background: rgba(46, 0, 102, 0.08);
}

.eih-nav-list li.active a {
  background: var(--eih-primary);
  color: #fff;
}

body {
  margin-top: 70px;
}

/* ── 4  DESKTOP NAVIGATION (im Header integriert) ── */

/* Alte Kadence-Klassen fallback */
.site-header-wrap,
.site-header-inner-wrap,
.site-container,
.site-main-header-inner-wrap,
.site-header-section-left,
.site-header-section-right,
.site-branding,
.main-navigation,
.primary-menu-container {
  display: none;
}

/* ── 5  MOBILE NAVIGATION ── */

.eih-mobile-toggle {
  display: none;
  position: fixed;
  top: 10px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 10001;
}

.eih-mobile-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--eih-primary);
  margin: 2.5px 0;
  transition: all 0.3s ease;
}

.eih-mobile-panel {
  position: fixed;
  top: 0;
  right: -70vw;
  width: 70vw;
  height: 100vh;
  z-index: 10000;
  background: url("/images/bg-energie-harmonie.jpg") center/cover;
  transition: right 0.35s ease;
  overflow-y: auto;
  padding: 80px 24px 40px;
}

.eih-mobile-panel.open {
  right: 0;
}

.eih-mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.eih-mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.eih-mobile-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(46, 0, 102, 0.05);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10001;
  color: var(--eih-primary);
  font-size: 1.2rem;
}

.eih-mobile-close:hover {
  background: rgba(46, 0, 102, 0.1);
}

.eih-mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.eih-mobile-nav-list li {
  border-bottom: 1px solid rgba(46, 0, 102, 0.12);
}

.eih-mobile-nav-list li a {
  display: block;
  color: var(--eih-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 0;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.eih-mobile-nav-list li a:hover {
  color: var(--eih-hover);
}

.eih-mobile-nav-list li a.active {
  color: var(--eih-primary);
  font-weight: 600;
  border-left: 3px solid var(--eih-accent);
  padding-left: 10px;
}


/* ── 6. BUTTONS ── */

.eih-btn {
  display: inline-block;
  background: var(--eih-primary);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95em;
  font-weight: 600;
  padding: 12px 32px;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.eih-btn:hover {
  background: var(--eih-button-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(46, 0, 102, 0.25);
  color: #fff;
}

.eih-btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--eih-primary);
  font-family: var(--font-body);
  font-size: 0.95em;
  font-weight: 600;
  padding: 10px 28px;
  border: 2px solid var(--eih-primary);
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.eih-btn-outline:hover {
  background: var(--eih-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(46, 0, 102, 0.25);
}


/* ── 7. LINKS ── */

.eih-content a {
  color: var(--eih-primary);
  text-decoration: underline;
  text-decoration-color: var(--eih-accent);
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.eih-content a:hover {
  color: var(--eih-hover);
}


/* ── 8. BLOCKQUOTES ── */

blockquote {
  border-left: none;
  padding: 1.5em 0;
  margin: 0;
  position: relative;
}

blockquote::before {
  content: "\201E";
  font-size: 7.5em;
  color: var(--eih-primary);
  opacity: 0.5;
  position: absolute;
  top: -0.7em;
  left: -0.15em;
  line-height: 1;
  pointer-events: none;
}

blockquote p {
  font-size: 1.5em;
  line-height: 1.4;
  color: var(--eih-body-text);
  font-style: italic;
  margin: 0;
}

blockquote cite {
  display: block;
  margin-top: 0.75em;
  font-size: 0.85em;
  color: var(--eih-primary);
  font-style: normal;
  letter-spacing: 0.05em;
}

.eih-segel-quote {
  background: rgba(255, 255, 255, 0.3);
  border: none;
  border-radius: 8px;
  padding: 20px 32px;
}


/* ── 9. FOOTER ── */

.eih-footer {
  border-top: 2px solid var(--eih-accent);
  background: #FDF8F0;
  padding: 30px 40px 20px;
  margin-top: 40px;
}

.eih-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
  gap: 32px;
}

.eih-footer-col {
  flex: 1;
  text-align: center;
  color: var(--eih-primary);
  font-size: 0.9rem;
  line-height: 1.4;
}

.eih-footer-col--brand {
  flex: 0 0 230px;
}

.eih-footer-col--physio {
  flex: 0 0 300px;
  padding: 4px 20px 14px;
  background: rgba(46, 0, 102, 0.05);
  border: 1px solid rgba(212, 165, 116, 0.4);
  border-radius: 8px;
}

.eih-footer-col img {
  height: 40px;
  width: auto;
  margin: 0 auto 8px;
  display: block;
}

.eih-footer-col strong {
  color: var(--eih-primary);
  font-weight: 700;
}

.eih-footer-col a {
  color: var(--eih-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.eih-footer-col a:hover {
  color: var(--eih-hover);
}

.eih-footer-bottom {
  text-align: center;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(46, 0, 102, 0.12);
  font-size: 0.85rem;
  color: var(--eih-meta);
}

.eih-footer-bottom a {
  color: var(--eih-primary);
  text-decoration: none;
  margin: 0 12px;
}

.eih-footer-bottom a:hover {
  color: var(--eih-hover);
}

.eih-footer-tagline {
  margin-top: 8px;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--eih-meta);
}


/* ── 10. TABELLEN ── */

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  background: rgba(255, 255, 255, 0.15);
  font-weight: 700;
  color: var(--eih-primary);
}

th, td {
  padding: 10px 14px;
  border: 1px solid var(--eih-accent);
}


/* ── 11. BILDER ── */

img {
  max-width: 100%;
  height: auto;
}


/* ── 12. LISTEN ── */

ul, ol {
  padding-left: 0.6em;
  margin-left: 1.5em;
}

li {
  margin-bottom: 0.2em;
}


/* ── 13. KARTEN ── */

.eih-card {
  background: rgba(46, 0, 102, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 8px;
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eih-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(46, 0, 102, 0.15);
}

.eih-card h3 {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 0.5em;
}

.eih-card p {
  font-size: 0.95rem;
  text-align: center;
}


/* ── 14. CTA-BLOCK ── */

.eih-cta-block {
  background: rgba(46, 0, 102, 0.08);
  border-radius: 8px;
  padding: 28px 30px;
  text-align: center;
}

.eih-cta-block h2 {
  color: var(--eih-primary);
  font-size: 1.5rem;
  margin-bottom: 0.5em;
}

.eih-cta-block p {
  color: var(--eih-body-text);
  font-size: 1rem;
}


/* ── 15. PREISKACHELN ── */

.eih-price-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.eih-price-card {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(46, 0, 102, 0.25);
  border-radius: 8px;
  padding: 2em 1.5em;
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eih-price-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(46, 0, 102, 0.15);
}

.eih-price-amount {
  font-size: 1.6em;
  font-weight: 700;
  color: var(--eih-primary);
}

.eih-price-label {
  font-size: 0.9rem;
  color: var(--eih-meta);
}


/* ── 16. TRENNLINIEN ── */

hr {
  border: none;
  height: 3px;
  background: linear-gradient(
    to right,
    transparent,
    var(--eih-accent),
    transparent
  );
  opacity: 0.6;
  margin: 2em 0;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(46, 0, 102, 0.05);
}

::-webkit-scrollbar-thumb {
  background: rgba(46, 0, 102, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(46, 0, 102, 0.5);
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(46, 0, 102, 0.3) transparent;
}


/* ── 17. SCROLL-ANIMATIONEN ── */

.eih-animate {
  opacity: 1;
  transform: translateY(0);
}

.eih-animate-slow {
  transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (prefers-reduced-motion: reduce) {
  .eih-animate,
  .eih-animate-slow {
    transition: none;
    opacity: 1;
    transform: none;
  }
}


/* ── 18. FORMULARE ── */

.eih-form label {
  display: block;
  color: var(--eih-primary);
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 4px;
}

.eih-form input,
.eih-form textarea,
.eih-form select {
  width: 100%;
  border: 1px solid rgba(46, 0, 102, 0.15);
  border-radius: 8px;
  color: var(--eih-body-text);
  background: transparent;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.eih-form input:focus,
.eih-form textarea:focus,
.eih-form select:focus {
  border-color: var(--eih-primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(46, 0, 102, 0.2);
}

.eih-form input::placeholder,
.eih-form textarea::placeholder {
  color: rgba(61, 26, 110, 0.5);
}

.eih-form button[type="submit"] {
  background: var(--eih-primary);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.eih-form button[type="submit"]:hover {
  background: var(--eih-button-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(46, 0, 102, 0.2);
}


/* ── 19. SEITENLAYOUT ── */

.eih-page {
  max-width: 900px;
  margin: 0 auto 16px;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}

.eih-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.eih-section {
  margin-bottom: 2em;
}


/* Body lock wenn Mobile-Nav offen */
body.overflow-hidden {
  overflow: hidden;
}


/* ── 20. ACCESSIBILITY ── */

:focus-visible {
  outline: 2px solid var(--eih-primary);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ── 21. PRINT ── */

@media print {
  body {
    background: #fff;
    color: #000;
  }

  .eih-header,
  .eih-nav,
  .eih-footer,
  .eih-mobile-toggle,
  .eih-mobile-panel,
  .eih-mobile-overlay {
    display: none;
  }

  .eih-page {
    max-width: 100%;
    padding: 0;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}


/* ── 22. RESPONSIVE ── */

@media (max-width: 869px) {
  body {
    margin-top: 50px;
  }

  h1 { font-size: 1.7em; }
  h2 { font-size: 1.4em; }
  h3 { font-size: 1.2em; }

  body, p, li {
    font-size: 0.95rem;
  }

  .eih-header-nav {
    display: none;
  }

  .eih-mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .eih-logo-text {
    font-size: 0.85em;
    white-space: normal;
    max-width: 100%;
    overflow: visible;
  }

  .eih-page {
    padding-left: 16px;
    padding-right: 16px;
  }

  blockquote {
    padding: 0.8em 1em;
    margin: 1em 0;
  }

  .eih-btn,
  .eih-btn-outline {
    font-size: 0.9em;
    padding: 10px 24px;
  }

  .eih-footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .eih-footer-col--brand,
  .eih-footer-col--physio {
    flex: none;
    width: 100%;
  }

  .eih-footer-col--contact {
    padding-top: 0 !important;
  }

  .eih-columns {
    flex-direction: column;
  }

  .eih-columns > * {
    width: 100%;
  }

  .eih-price-grid {
    flex-direction: column;
    align-items: center;
  }

  .eih-price-card {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.5em; }
  h2 { font-size: 1.25em; }

  .eih-logo-text {
    font-size: 0.85em;
  }
}


/* ── 23. BLOG ── */

.eih-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.eih-blog-card {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(46, 0, 102, 0.25);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eih-blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(46, 0, 102, 0.15);
}

.eih-blog-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.eih-blog-card-body {
  padding: 16px 20px;
}

.eih-blog-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3em;
}

.eih-blog-card-body p {
  font-size: 0.9rem;
  color: var(--eih-body-text);
}

@media (max-width: 767px) {
  .eih-blog-grid {
    grid-template-columns: 1fr;
  }
}


/* ── 24. IMPULSBUCH-SEITE ── */

.eih-impulsbuch-header img {
  max-width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

.eih-impulsbuch-header .aligncenter {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}


/* ── 25. STARTSEITEN-SPEZIFISCH ── */

.eih-hero-columns {
  display: flex;
  align-items: center;
  gap: 32px;
}

.eih-hero-columns .eih-hero-image {
  flex: 0 0 45%;
}

.eih-hero-columns .eih-hero-text {
  flex: 0 0 55%;
}

.eih-hero-image img {
  border-radius: 8px;
  max-width: 400px;
  width: 100%;
}

.eih-topic-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.eih-topic-card {
  background: rgba(46, 0, 102, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 8px;
  padding: 20px;
  flex: 1;
  min-width: 180px;
  max-width: 240px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eih-topic-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(46, 0, 102, 0.15);
}

.eih-topic-card p {
  color: var(--eih-primary);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.eih-angebot-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.eih-angebot-card {
  background: rgba(46, 0, 102, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 24px 20px;
  flex: 1;
  min-width: 260px;
  max-width: 340px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eih-angebot-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(46, 0, 102, 0.15);
}

.eih-angebot-card h3 {
  font-size: 1.2em;
}

.eih-angebot-card p {
  font-size: 0.95rem;
}

@media (max-width: 767px) {
  .eih-hero-columns {
    flex-direction: column;
  }

  .eih-hero-columns .eih-hero-image,
  .eih-hero-columns .eih-hero-text {
    flex: none;
    width: 100%;
  }

  .eih-hero-image img {
    max-width: 260px;
    margin: 0 auto;
    display: block;
  }

  .eih-topic-grid {
    flex-direction: column;
    align-items: center;
  }

  .eih-topic-card {
    max-width: 100%;
    width: 100%;
  }

  .eih-angebot-grid {
    flex-direction: column;
    align-items: center;
  }

  .eih-angebot-card {
    max-width: 100%;
    width: 100%;
  }
}


/* ══════════════════════════════════════════════════
   26. WORDPRESS-BLOCK-KOMPATIBILITÄT
   ══════════════════════════════════════════════════
   Erlaubt die Nutzung der WP-Block-HTML-Strukturen
   aus den Referenz-Seiten in der Laravel-Version.
   ══════════════════════════════════════════════════ */

/* --- wp-block-columns (Flex-Layout) --- */
.wp-block-columns {
  display: flex;
  flex-wrap: nowrap;
  gap: 2em;
  margin-bottom: 1.5em;
}
.wp-block-columns.is-layout-flex {
  display: flex;
  flex-wrap: nowrap;
  gap: 2em;
  align-items: stretch;
}
.wp-block-columns.alignwide {
  max-width: 100%;
}
.wp-block-column {
  flex-grow: 1;
  flex-basis: 0;
  min-width: 0;
}
@media (max-width: 781px) {
  .wp-block-columns:not(.is-not-stacked-on-mobile) {
    flex-direction: column;
  }
  .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
    flex-basis: 100% !important;
  }
}

/* --- WordPress 6.x Layout Engine Classes ---
   Generiert vom Block Editor (Gutenberg), fehlen in WP-losen Laravel-Builds.
   ─────────────────────────────────────────── */

/* Generische Layout-Typen */
.is-layout-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  align-items: center;
}

.is-layout-flow > * + * {
  margin-top: 1.5rem;
}
.is-layout-flow > *:first-child {
  margin-top: 0;
}

.is-layout-constrained > * {
  max-width: var(--wp--style--global--content-size, 1200px);
  margin-left: auto;
  margin-right: auto;
}

/* Block-spezifische Layout-Aliase */
.wp-block-column-is-layout-flow > * + * {
  margin-top: 1.5rem;
}
.wp-block-column-is-layout-flow > *:first-child {
  margin-top: 0;
}

.wp-block-group-is-layout-constrained > * {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.wp-block-group-is-layout-flow > * + * {
  margin-top: 1.5rem;
}

.wp-block-quote-is-layout-flow > * + * {
  margin-top: 1rem;
}

.wp-block-buttons-is-layout-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  align-items: center;
}

/* Entry Header / Page Title (Kadence-Kompatibilität) */
.entry-header.page-title {
  margin-bottom: 1.5em;
  text-align: inherit;
}
.entry-header.page-title h1 {
  font-size: 2.5em !important;
  color: var(--eih-primary);
  font-weight: 700;
  margin-top: 1.2em !important;
  margin-bottom: 0.75em !important;
}


/* --- wp-block-group --- */
.wp-block-group__inner-container {
  max-width: inherit;
}
.wp-block-group.alignfull {
  width: 100%;
  max-width: 100%;
}

/* --- wp-block-image --- */
.wp-block-image {
  margin-bottom: 1em;
}
.wp-block-image figure {
  margin: 0;
}
.wp-block-image figure.aligncenter {
  text-align: center;
}
.wp-block-image figure.aligncenter img {
  margin-left: auto;
  margin-right: auto;
}
.wp-block-image img {
  max-width: 100%;
  height: auto;
}
.wp-block-image .is-resized img {
  height: auto;
}
.wp-element-caption {
  font-size: 0.85em;
  color: #6B5B8D;
  text-align: center;
  margin-top: 6px;
}

/* --- wp-block-button --- */
.wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin-bottom: 1em;
}
.wp-block-buttons.is-content-justification-center {
  justify-content: center;
}

/* Default-Button */
.wp-block-button .wp-block-button__link,
.wp-block-button .wp-element-button {
  display: inline-block;
  padding: calc(0.667em + 2px) calc(1.333em + 2px);
  background-color: #2E0066;
  color: #FFFFFF;
  border: 2px solid transparent;
  border-radius: 9999px;
  font-size: 1.125em;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.3px;
  box-shadow: 0 0 0 -7px rgba(0,0,0,0);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}
.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-element-button:hover {
  background-color: var(--eih-button-hover);
  color: #FFFFFF;
  box-shadow: 0 15px 25px -7px rgba(0,0,0,0.1);
}

/* Outline-Button — transparent mit farbigem Rahmen, wie WordPress */
.wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-button.is-style-outline .wp-element-button {
  background: transparent;
  color: var(--eih-primary);
  border: 2px solid currentColor;
  border-radius: 8px;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-element-button:hover {
  background-color: var(--eih-primary);
  color: #FFFFFF;
  border-color: var(--eih-primary);
}

/* --- wp-block-quote --- */
.wp-block-quote {
  border-left: none;
  padding: 1em 1.5em;
  margin: 1.5em 0;
  font-style: italic;
}
.wp-block-quote cite {
  display: block;
  font-size: 0.85em;
  color: var(--eih-body-text);
  margin-top: 0.5em;
  font-style: normal;
}

/* --- wp-block-spacer --- */
.wp-block-spacer {
  display: block;
}

/* --- wp-block-list --- */
.wp-block-list {
  list-style: none;
  padding-left: 1.4em;
  margin-left: 0;
  margin-bottom: 1em;
  color: var(--eih-body-text);
}
.wp-block-list li {
  margin-bottom: 0.4em;
  position: relative;
}
.wp-block-list li::before {
  content: '';
  display: inline-block;
  position: absolute;
  left: -1.4em;
  top: 0.34em;
  width: 16px;
  height: 14px;
  background-image: url('/images/header-logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* --- wp-block-table --- */
.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(255,255,255,0.15);
  font-weight: 700;
}
.wp-block-table th,
.wp-block-table td {
  padding: 10px 14px;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.15);
}
.wp-block-table thead {
  background: rgba(46,0,102,0.12);
}

/* --- wp-block-heading (Gutenberg) --- */
.wp-block-heading {
  margin-bottom: 0.6em;
}

/* --- Text-Alignment --- */
.has-text-align-center {
  text-align: center;
}
.has-text-color { color: inherit; }
.has-background { background: inherit; }
.has-text-align-left {
  text-align: left;
}

/* --- Vertikale Ausrichtung (WP-Block-Columns) --- */
.is-vertically-aligned-center,
.are-vertically-aligned-center {
  align-items: center;
}
.wp-block-column.is-vertically-aligned-center {
  align-self: center;
}

/* --- WordPress Image Sizes --- */
.size-full img,
.size-large img,
.size-medium img {
  max-width: 100%;
  height: auto;
}

/* --- Kadence-Global-ähnliche Body-Defaults --- */
.entry-content-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 18px 35px;
}
.entry-content.single-content {
  line-height: 1.6;
}

/* --- Mood Image --- */
.eih-mood-image {
  margin-bottom: 10px;
}
.eih-mood-image img {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: 12px;
}

/* --- WP-Kontaktformular-Nachbau --- */
.eih-contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.eih-contact-form input[type="text"],
.eih-contact-form input[type="email"],
.eih-contact-form input[type="tel"],
.eih-contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(46,0,102,0.15);
  border-radius: 8px;
  background: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  color: var(--eih-body-text);
  font-family: inherit;
}
.eih-contact-form input:focus,
.eih-contact-form textarea:focus {
  outline: none;
  border-color: var(--eih-primary);
  box-shadow: 0 0 0 2px rgba(46,0,102,0.12);
}
.eih-contact-form textarea {
  min-height: 120px;
  resize: vertical;
}
.eih-contact-form label.eih-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--eih-body-text);
  cursor: pointer;
}
.eih-contact-form label.eih-checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
}
.eih-contact-form button[type="submit"] {
  display: inline-block;
  padding: 12px 32px;
  background: var(--eih-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background 0.3s ease;
}
.eih-contact-form button[type="submit"]:hover {
  background: rgba(46,0,102,0.85);
}

/* --- Stadtteil-Grid (Kontaktseite) --- */
.eih-stadtteil-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.eih-stadtteil-card {
  background: rgba(255,255,255,0.4);
  border: 1px solid rgba(212,165,116,0.25);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 0.92rem;
  text-align: center;
}
.eih-stadtteil-card strong {
  color: #2E0066;
}
.eih-stadtteil-card span {
  color: #63728A;
}
@media (max-width: 767px) {
  .eih-stadtteil-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Versprechen-Box (Online-Coaching) --- */
.eih-versprechen-box {
  border-radius: 8px;
  background: rgba(255,255,255,0.25);
  padding: 30px;
  margin: 24px 0;
}

/* --- Vorteile-Karten (Online-Coaching) --- */
.eih-vorteile-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 24px 0;
}
.eih-vorteile-card {
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  text-align: center;
  padding: 24px;
  border-radius: 12px;
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(46,0,102,0.15);
}

/* --- Schritte-Karten (Online-Coaching) --- */
.eih-schritte-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 24px 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.eih-schritte-card {
  flex: 1;
  min-width: 240px;
  max-width: 280px;
  text-align: center;
  padding: 24px;
  border-radius: 12px;
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(46,0,102,0.15);
}

/* --- FAQ-Accordion --- */
.eih-faq-item {
  border-bottom: 1px solid rgba(46,0,102,0.12);
  padding: 16px 0;
}
.eih-faq-item:last-child {
  border-bottom: none;
}
.eih-faq-button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--eih-primary);
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- FAQ CTA-Box --- */
.eih-faq-cta {
  background: #FDF0FF;
  padding: 24px;
  border-radius: 8px;
  margin-top: 32px;
}


/* ══════════════════════════════════════════════════
   25. BLOG — Redesign
   ══════════════════════════════════════════════════ */

/* ── Blog Intro / Hero ── */

.blog-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 20px;
  text-align: center;
}

.blog-hero__logo {
  width: 48px;
  height: auto;
  opacity: 0.55;
  margin: 0 auto 16px;
}

.blog-hero__headline {
  font-family: var(--font-heading);
  font-size: 2.6em;
  font-weight: 700;
  color: var(--eih-primary);
  margin-bottom: 0.35em;
  letter-spacing: -0.01em;
}

.blog-hero__text {
  font-size: 1.1rem;
  color: var(--eih-body-text);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.blog-hero__divider {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--eih-accent), transparent);
  margin: 28px auto 0;
  border: none;
}


/* ── Blog Card Grid ── */

.blog-grid {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 24px 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 680px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 28px;
  }
}


/* ── Blog Card ── */

.blog-card {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--eih-soft-border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 32px rgba(46, 0, 102, 0.1),
    0 2px 8px rgba(46, 0, 102, 0.06);
}


/* Card Image */

.blog-card__image-link {
  display: block;
  overflow: hidden;
}

.blog-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__image {
  transform: scale(1.03);
}

/* Card mit Platzhalter wenn kein Bild */
.blog-card__placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(46, 0, 102, 0.06), rgba(212, 165, 116, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card__placeholder-icon {
  width: 48px;
  height: 48px;
  opacity: 0.25;
}


/* Card Body */

.blog-card__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__date {
  font-size: 0.82rem;
  color: var(--eih-meta);
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.blog-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem !important;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.5em !important;
  margin-top: 0 !important;
}

.blog-card__title a {
  color: var(--eih-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card__title a:hover {
  color: var(--eih-hover);
}

.blog-card__excerpt {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--eih-body-text);
  flex: 1;
  margin-bottom: 16px;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--eih-primary);
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
  align-self: flex-start;
}

.blog-card__link::after {
  content: '→';
  transition: transform 0.2s ease;
}

.blog-card__link:hover {
  color: var(--eih-hover);
}

.blog-card__link:hover::after {
  transform: translateX(3px);
}


/* Empty State */

.blog-empty {
  text-align: center;
  color: var(--eih-meta);
  font-size: 1.05rem;
  padding: 48px 24px;
  font-style: italic;
}


/* Pagination */

.blog-pagination {
  grid-column: 1 / -1;
  text-align: center;
  padding: 12px 0 0;
}


/* ── Blog Article (Einzelpost) ── */

.blog-article {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 24px 72px;
}


/* Zurück-Link */

.blog-article__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--eih-meta);
  text-decoration: none;
  transition: color 0.2s ease;
  margin-bottom: 32px;
}

.blog-article__back:hover {
  color: var(--eih-primary);
}


/* Article Header */

.blog-article__header {
  margin-bottom: 32px;
}

.blog-article__title {
  font-family: var(--font-heading);
  font-size: 2.2em !important;
  font-weight: 700;
  color: var(--eih-primary);
  line-height: 1.2;
  margin-bottom: 0.4em !important;
  margin-top: 0.1em !important;
}

.blog-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--eih-meta);
}

.blog-article__author {
  position: relative;
  padding-left: 16px;
}

.blog-article__author::before {
  content: '·';
  position: absolute;
  left: 0;
  font-weight: 700;
}


/* Featured Image */

.blog-article__image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 40px;
}


/* Article Content / Prose */

.blog-article__content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--eih-body-text);
}

.blog-article__content h2 {
  font-size: 1.6em !important;
  margin-top: 2em !important;
  margin-bottom: 0.6em !important;
  color: var(--eih-primary);
  position: relative;
}

.blog-article__content h3 {
  font-size: 1.3em !important;
  margin-top: 1.6em !important;
  margin-bottom: 0.5em !important;
  color: var(--eih-primary);
}

.blog-article__content p {
  margin-bottom: 1.15em;
}

.blog-article__content strong {
  color: var(--eih-primary);
  font-weight: 700;
}

.blog-article__content ul,
.blog-article__content ol {
  margin: 1em 0 1.2em;
  padding-left: 1.5em;
}

.blog-article__content li {
  margin-bottom: 0.4em;
  line-height: 1.65;
}

.blog-article__content ul li::marker {
  color: var(--eih-accent);
}

.blog-article__content ol li::marker {
  color: var(--eih-accent);
  font-weight: 600;
}

.blog-article__content blockquote {
  border-left: 3px solid var(--eih-accent);
  background: rgba(46, 0, 102, 0.04);
  margin: 1.5em 0;
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--eih-primary);
  line-height: 1.7;
}

.blog-article__content blockquote p:last-child {
  margin-bottom: 0;
}

.blog-article__content a {
  color: var(--eih-primary);
  text-decoration: underline;
  text-decoration-color: var(--eih-accent);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.blog-article__content a:hover {
  text-decoration-color: var(--eih-hover);
  color: var(--eih-hover);
}

.blog-article__content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5em 0;
}

.blog-article__content hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--eih-accent), transparent);
  margin: 2.5em 0;
}


/* Author Footer */

.blog-article__footer {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--eih-soft-border);
  display: flex;
  align-items: center;
  gap: 16px;
}

.blog-article__footer-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--eih-soft-border);
}

.blog-article__footer-info {
  flex: 1;
}

.blog-article__footer-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--eih-primary);
  margin-bottom: 2px;
}

.blog-article__footer-role {
  font-size: 0.85rem;
  color: var(--eih-meta);
}


/* Back to Blog (bottom) */

.blog-article__back-bottom {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--eih-meta);
  text-decoration: none;
  transition: color 0.2s ease;
  margin-top: 40px;
}

.blog-article__back-bottom:hover {
  color: var(--eih-primary);
}


/* ── Blog Responsive Feinschliff ── */

@media (max-width: 480px) {
  .blog-hero {
    padding: 36px 18px 16px;
  }

  .blog-hero__headline {
    font-size: 2em;
  }

  .blog-article {
    padding: 28px 18px 48px;
  }

  .blog-article__title {
    font-size: 1.7em !important;
  }

  .blog-article__image {
    border-radius: 6px;
    max-height: 280px;
  }

  .blog-card__body {
    padding: 16px 18px 20px;
  }
}
