/* =========================================================
  HOMMWERK – Layout/Typo
  Gilt nur für die Bereiche .hw-needs und .hw-steps
  ========================================================= */

/* ---------- Optional: Header Claim stabil ---------- */
header .site-claim{
 font-family: "Manrope", sans-serif;
 font-size: 1.05rem;
 line-height: 1.15;
 letter-spacing: .02em;
 margin: 0;
}
@media (max-width: 900px){
 header .site-claim{ font-size: .85rem; }
}

/* ---------- Optional: Footer nicht zusammenstauchen ---------- */
footer .wp-block-group{
 max-width:none !important;
 margin-left:0 !important;
 margin-right:0 !important;
 padding-left:0 !important;
 padding-right:0 !important;
}
footer .wp-block-columns{
 max-width:1200px;
 margin-left:auto;
 margin-right:auto;
 padding-left:2rem;
 padding-right:2rem;
 column-gap:3rem;
}
footer .wp-block-site-logo img{ max-width:140px; height:auto; }
footer .wp-block-navigation a{ line-height:1.9; }

/* =========================================================
  HOMMWERK – Minimal CSS
  Nur: .hw-needs + .hw-steps
  ========================================================= */

/* --- "Was Sie davon haben" (.hw-needs) --- */
/* Überschrift + Unterzeile bleiben mittig */
.hw-needs h2.wp-block-heading,
.hw-needs > p.has-text-align-center{
 text-align: center;
}

/* Karten-Inhalt links (wichtig: NUR innerhalb der Karten) */
.hw-needs .wp-block-column .wp-block-group{
 text-align: left;
}
.hw-needs .wp-block-column .wp-block-group h3,
.hw-needs .wp-block-column .wp-block-group p{
 text-align: left;
}

/* --- "So funktioniert Hausbetreuung" (.hw-steps) --- */
/* Karten-Inhalt links */
.hw-steps .wp-block-column .wp-block-group{
 text-align: left;
}
.hw-steps .wp-block-column .wp-block-group h3,
.hw-steps .wp-block-column .wp-block-group p{
 text-align: left;
}

/* --- Optional: Silbentrennung AUS nur in diesen Bereichen --- */
.hw-needs, .hw-steps{
 hyphens: none;
 -webkit-hyphens: none;
}


/* =========================================================
  Overlay (falls du es nutzt) – kann sonst weg
  ========================================================= */
.hw-overlay {
 display:none;
 position:fixed;
 inset:0;
 background:rgba(0,0,0,0.65);
 justify-content:center;
 align-items:center;
 z-index:99999;
}
.hw-overlay-box {
 position:relative;
 max-width:520px;
 width:90%;
 background:#ffffff;
 border-radius:20px;
 overflow:hidden;
 box-shadow:0 30px 80px rgba(0,0,0,0.4);
 text-align:center;
 animation:fadeIn 0.4s ease;
}
.hw-overlay-img { width:100%; height:auto; display:block; }
.hw-overlay-content { padding:26px; }
.hw-overlay-content h2 {
 margin:0 0 10px;
 color:#1e54a3;
 font-size:22px;
}
.hw-overlay-content p { margin:0 0 20px; font-size:16px; }
.hw-overlay-btn {
 display:inline-block;
 padding:12px 26px;
 background:#1e54a3;
 color:#FFEE58;
 text-decoration:none;
 border-radius:30px;
 font-weight:bold;
}
.hw-overlay-close {
 position:absolute;
 top:12px;
 right:15px;
 font-size:26px;
 background:none;
 border:none;
 cursor:pointer;
 color:#1e54a3;
}
@keyframes fadeIn {
 from { opacity:0; transform:scale(0.95); }
 to { opacity:1; transform:scale(1); }
}

.wpforms-container {
   max-width: 1100px;
   margin-left: auto;
   margin-right: auto;
   padding-left: 20px;
   padding-right: 20px;
}

/* MOBILE – nur Kontaktseite */
@media (max-width: 781px){

 body.page-id-123 .wp-block-post-content{
   padding-left: 16px !important;
   padding-right: 16px !important;
 }

 body.page-id-123 .wpforms-container,
 body.page-id-123 div.wpforms-container-full{
   max-width: 1100px !important;
   margin-left: auto !important;
   margin-right: auto !important;
   padding-left: 16px !important;
   padding-right: 16px !important;
 }

}

@media (max-width: 781px){

 .hw-contact{
   padding-left: 16px;
   padding-right: 16px;
 }

}

/* Hover für helle Karten */
.hw-hover-light {
 box-shadow: 0 6px 18px rgba(0,0,0,0.18);
 transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hw-hover-light:hover {
 transform: translateY(-6px);
 box-shadow: 0 16px 40px rgba(0,0,0,0.28);
}


/* Hover für dunklen Hintergrund (System) */
.hw-hover-dark {
 box-shadow:
   inset 0 0 0 1px rgba(255,255,255,0.08),
   0 10px 26px rgba(0,0,0,0.45);
 transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hw-hover-dark:hover {
 transform: translateY(-6px);
 box-shadow:
   inset 0 0 0 1px rgba(255,255,255,0.14),
   0 18px 44px rgba(0,0,0,0.60);
}

/* Beliebt Badge – klein & mittig (WP-sicher) */
.hw-badge {
 display: table !important;
 margin: 0 auto 1rem auto !important;
 padding: 0.35rem 0.9rem !important;
 width: auto !important;
}

.hw-box {
 max-width: 700px;
 margin: 40px auto;
 text-align: center;
}

.hw-form {
 display: flex;
 gap: 10px;
 justify-content: center;
 margin-top: 15px;
}

.hw-form input {
 padding: 14px;
 border-radius: 10px;
 border: none;
 width: 60%;
 font-size: 16px;
}

.hw-form button {
 background: #FFCC00;
 color: #0F2647;
 border: none;
 padding: 14px 20px;
 border-radius: 10px;
 font-weight: bold;
 cursor: pointer;
}

.hw-answer {
 margin-top: 20px;
 background: white;
 color: #0F2647;
 padding: 20px;
 border-radius: 12px;
 text-align: left;
 line-height: 1.6;
}

.hw-answer {
 margin-top: 20px;
 background: #f2f2f2;
 color: #0F2647;
 padding: 12px 16px;
 border-radius: 10px;
 text-align: left;
 line-height: 1.4;
 font-size: 16px;

 display: inline-block;
 max-width: 800px;
}

.hw-cta {
 margin-top: 18px;
 text-align: center;
}

.hw-cta p {
 margin-bottom: 12px;
 color: #ffffff;
 font-size: 18px;
}

.hw-button {
 display: inline-block;
 background: #FFCC00;
 color: #0F2647;
 padding: 14px 24px;
 border-radius: 12px;
 font-weight: 700;
 text-decoration: none;
}

.hw-button:hover {
 opacity: 0.92;
}

/* HISTORY BILDER REGEL */
.hw-history-short img {
 width: auto;
 max-height: 650px;
 height: auto;
 display: block;
 margin: 0 auto;
}

/* HommWerk Service Icons sauber mittig */

.hw-service-icon {
   display: flex;
   justify-content: center;
   align-items: center;
   margin-bottom: 20px;
}

.hw-service-icon img {
   width: 140px;
   height: auto;
   display: block;
}

body {
 margin: 0 !important;
}

.wp-site-blocks {
 padding-left: 0 !important;
 padding-right: 0 !important;
}

main,
.entry-content,
.wp-block-post-content {
 padding-left: 0 !important;
 padding-right: 0 !important;
}

/* WPForms Regeln */

#wpforms-568 .wpforms-field-label,
#wpforms-568 .wpforms-field-sublabel,
#wpforms-568 label,
#wpforms-568 legend,
#wpforms-568 .wpforms-field-label-inline,
#wpforms-568 .wpforms-field-description {
 color: #ffffff !important;
}
