/* =========================================================
   Vita Serviceagentur – Ergänzungen zum bestehenden Design (V4)
   Basis bleibt vita-service.webflow.shared.*.css
   ========================================================= */

/* --- Hero-Slider (Startseite) --- */
.hero-slider .con.ishero1 { display: block; position: relative; }
.hero-slider .slide { display: none; align-items: center; position: relative; }
.hero-slider .slide.is-active { display: flex; animation: vitaFade .5s ease-in-out; }
@keyframes vitaFade { from { opacity: 0; } to { opacity: 1; } }
.hero-slider .hero-img.is-photo { width: 50%; margin-bottom: 0; margin-left: 2em; }
.hero-slider .hero-img.is-photo img { width: 100%; max-width: 560px; border-radius: 12px; box-shadow: 0 10px 30px #00000033; display: block; margin: 0 auto; }
.hero-slider .hero-img.is-map { width: 50%; margin-bottom: 0; margin-left: 2em; }
.hero-slider .hero-img.is-map svg { width: 100%; height: auto; display: block; }
.hero-hours { color: var(--white-text); opacity: .9; margin-top: 1.2em; font-size: .95em; }
.slider-arrow { position: absolute; top: 55%; transform: translateY(-50%); z-index: 5; width: 3em; height: 3em; border-radius: 50%; border: 2px solid var(--white-text); background-color: #ffffff22; color: var(--white-text); font-size: 1.3em; line-height: 1; cursor: pointer; transition: background-color .2s; padding: 0; }
.slider-arrow:hover { background-color: var(--white-text); color: var(--cadet-blue); }
.slider-arrow.is-prev { left: 1.2em; }
.slider-arrow.is-next { right: 1.2em; }
.slider-dots { display: flex; justify-content: center; gap: .6em; padding: 1.5em 0 0; position: relative; z-index: 5; }
.slider-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--white-text); background-color: transparent; padding: 0; cursor: pointer; }
.slider-dots button.is-active { background-color: var(--white-text); }
.hero-town-list { color: var(--white-text); columns: 2; column-gap: 2em; padding-left: 1.2em; margin-top: 1em; }
.hero-town-list li { margin-bottom: .3em; }
@media screen and (max-width: 991px) {
  .hero-slider .hero-img.is-photo, .hero-slider .hero-img.is-map { width: 60%; margin-left: 1em; }
}
@media screen and (max-width: 767px) {
  .hero-slider .slide.is-active { flex-direction: column; }
  .hero-slider .hero-img.is-photo, .hero-slider .hero-img.is-map { position: static; width: 100%; margin: 1.5em 0 0; }
  .hero-slider .hero-text { width: 100%; max-width: none; }
  .slider-arrow { top: auto; bottom: 4.6em; transform: none; }
}
@media screen and (max-width: 479px) {
  .hero-town-list { columns: 1; list-style: none; padding-left: 0; }
  .slider-arrow { width: 2.6em; height: 2.6em; bottom: 4.2em; }
}

/* --- Logo auf blauem Hintergrund: weiße Variante --- */
.footer-logo { background-image: url("../img/vita-logo-weiss.svg"); }
@media screen and (max-width: 479px) { .footer-logo { background-image: url("../img/vita-logo-weiss-mobil.svg"); } }

/* --- Pflegegeld-Hinweis (Verhinderungspflege) --- */
.highlight-box { background-color: #fff; border: 3px solid var(--cadet-blue); border-radius: 8px; padding: 1.6em 1.8em; margin-top: 1.5em; display: flex; align-items: center; box-shadow: 1px 1px 8px #00a5bc40; }
.highlight-box .big-figure { flex: none; margin-right: .6em; font-size: 2.8em; }
.highlight-box p { font-size: 1.15em; margin: 0; }
.highlight-box strong { color: var(--dark-text); }
@media screen and (max-width: 479px) { .highlight-box { display: block; } .highlight-box .big-figure { margin-bottom: .4em; } }

/* --- Update-Ticker (Aktuelles) --- */
.ticker { border-left: 3px solid var(--cadet-blue); padding-left: 1.8em; margin-top: 1.5em; max-width: 900px; }
.ticker-item { position: relative; margin-bottom: 1.6em; }
.ticker-item::before { content: ""; position: absolute; left: -1.8em; margin-left: -8px; top: .35em; width: 13px; height: 13px; border-radius: 50%; background-color: var(--cadet-blue); }
.ticker-date { color: var(--cadet-blue); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: .85em; margin-bottom: .2em; }
.ticker-item p { margin: 0; }
.link-list { list-style: none; padding-left: 0; margin: 0; }
.link-list li { padding: .4em 0; border-bottom: 1px solid #e3eef1; }
.link-list li:last-child { border-bottom: 0; }
.link-list a { color: var(--cadet-blue); font-weight: 700; text-decoration: none; }
.link-list a:hover { text-decoration: underline; }
.link-list small { display: block; color: #666; }

/* --- Datenschutz-Hinweis an den Formularen / Rechtstexte --- */
.form-hint { margin-top: 1.2em; font-size: .9em; color: #555; }
.form-hint a { color: var(--cadet-blue); font-weight: 700; }
.rechtstext h2 { font-size: 1.35em; margin-top: 1.6em; margin-bottom: .5em; }
.rechtstext p { margin-bottom: .9em; line-height: 1.6; }
.rechtstext ul { padding-left: 1.6em; margin-bottom: 1em; }
.rechtstext li { margin-bottom: .4em; }

/* --- Bewerbungsformular --- */
.c-form-file { display: block; width: 100%; padding: .6em 0; font-family: inherit; font-size: .95em; color: var(--my-gray); }
.c-form-check { display: flex; align-items: flex-start; margin-top: 1em; font-size: .9em; }
.c-form-check input { margin: .3em .7em 0 0; }
.form-note { background-color: #f5fbfc; border-left: 3px solid var(--cadet-blue); padding: .8em 1em; margin-top: .6em; font-size: .85em; color: #555; }
.form-status { display: none; border-radius: 8px; padding: 1.2em 1.4em; margin-top: 1em; line-height: 1.5; }
.form-status.is-ok { display: block; background-color: var(--cadet-blue); color: #fff; font-weight: 700; }
.form-status.is-err { display: block; background-color: #fdecea; color: #8a2b2b; border: 1px solid var(--red); }
.form-status a { color: inherit; font-weight: 700; }
.form-status small { display: block; margin-top: .5em; font-weight: 400; opacity: .8; }
.hp-field { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
form[data-hs-form].is-sent .c-form-lbl, form[data-hs-form].is-sent .c-form-input, form[data-hs-form].is-sent .two-col, form[data-hs-form].is-sent .c-form-check, form[data-hs-form].is-sent .form-note, form[data-hs-form].is-sent .btn { display: none; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; grid-column-gap: 1em; }
@media screen and (max-width: 479px) { .two-col { grid-template-columns: 1fr; } }

/* --- Stellenausschreibung: Abstände --- */
.is-smaller-kjsdnf { margin: .4em 0 1.2em; line-height: 1.35; font-size: 24px; }
.job-ad h3 { font-size: 24px; margin-top: 1.8em; margin-bottom: .7em; padding-top: 1.2em; border-top: 1px solid #e3eef1; }
.job-ad p { margin-bottom: 1em; line-height: 1.6; }
.job-ad ul { margin-bottom: 1.2em; padding-left: 1.6em; }
.job-ad li { margin-bottom: .7em; line-height: 1.55; }
.job-ad .job-region { margin-top: 1.6em; }
.job-cta { margin-top: 1.2em; display: flex; flex-wrap: wrap; gap: .8em; }
@media screen and (max-width: 767px) { .is-smaller-kjsdnf, .job-ad h3 { font-size: 21px; } }
@media screen and (max-width: 479px) { .job-cta .btn { width: 100%; text-align: center; } }

/* --- Button-Auswahl (Radio) --- */
.choice-group { display: flex; flex-wrap: nowrap; gap: .4em; }
.choice { position: relative; margin: 0; flex: 1 1 0; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice span { display: block; text-align: center; padding: .6em .3em; border: 2px solid var(--cadet-blue); border-radius: 6px; color: var(--dark-text); font-size: .9em; white-space: nowrap; cursor: pointer; transition: background-color .15s, color .15s; }
.choice input:checked + span { background-color: var(--cadet-blue); color: #fff; }
.choice input:focus-visible + span { box-shadow: 0 0 0 3px #00a5bc55; }

/* --- Orte als Kacheln --- */
.town-chips { display: flex; flex-wrap: wrap; gap: .6em; margin-top: 1em; }
.town-chip { background-color: #fff; border: 1px solid var(--cadet-blue); color: var(--dark-text); border-radius: 6px; padding: .4em 1em; font-size: .95em; }
.town-chip.is-hq { background-color: var(--cadet-blue); color: #fff; font-weight: 700; }

/* --- responsive Schriftgrößen (vorher inline in jeder Seite) --- */
@media only screen and (min-width: 1451px) {
  body { font-size: 15px; }
  p, .p, .nav__wrap, .btn, li, .hero-p, .footer-link { font-size: 17px; }
}
@media only screen and (min-width: 992px) and (max-width: 1450px) {
  p, .p, .nav__wrap, li, .hero-p, .footer-link, .footer-line { font-size: 18px; }
  .btn { font-size: 15px; }
  .big_text-unterseiten { font-size: 22px; }
}
@media only screen and (min-width: 300px) and (max-width: 479px) {
  p, .p, .nav__wrap, li, .hero-p, .footer-link { font-size: 17px; }
}

/* Anker unter der fixen Navigation nicht verdecken */
[id] { scroll-margin-top: 7em; }

/* --- Startseite: Service-Karten --- */
.services-card { display: flex; flex-direction: column; }
.services-card .btn { align-self: flex-start; margin-top: auto; }
.services-card .btn.is-service-secundary { position: static; }
.services-card.is-big-card { grid-area: span 2 / span 2; }
.services-card.is-wide-card { grid-column: span 2; }
.services-card.is-featured { border: 2px solid var(--cadet-blue); }
.home-services-img.unterst-tzung { background-image: url("../img/61123e46e9d2e7e20fae04e6_vita-unterst_tzung_teaser.webp"); background-size: contain; padding-bottom: 42%; }
@media screen and (max-width: 991px) {
  .services-card.is-big-card { grid-area: span 1 / span 2; }
}
@media screen and (max-width: 479px) {
  .services-card.is-big-card, .services-card.is-wide-card { grid-area: auto; }
}

/* --- Tag / Kennzahl / Häkchen-Listen --- */
.tag { display: inline-block; background-color: var(--cadet-blue); color: #fff; font-size: .75em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .25em .8em; border-radius: 6px; margin-bottom: .8em; }
.tag.is-dark { background-color: var(--dark-text); }
.big-figure { color: var(--cadet-blue); font-size: 3.2em; font-weight: 800; line-height: 1; display: block; }
.ticklist { list-style: none; padding-left: 0; margin: 0; }
.ticklist li { position: relative; padding: .35em 0 .35em 1.8em; margin-bottom: 0; }
.ticklist li::before { content: "\2713"; position: absolute; left: 0; top: .3em; color: var(--cadet-blue); font-weight: 800; }
.ticklist.is-white li { color: var(--white-text); }
.ticklist.is-white li::before { color: #fff; }

/* --- Info-Karten (weiße Kacheln, wie Leistungs-Karten) --- */
.info-card { background-color: #fff; border-radius: 8px; padding: 1.6em; box-shadow: 1px 1px 8px #00a5bc80; }
.info-card.is-featured { border: 2px solid var(--cadet-blue); }
.info-card h3 { font-size: 1.4em; margin-bottom: .4em; }
.info-card p { margin-bottom: .6em; }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; grid-column-gap: 1.5em; grid-row-gap: 1.5em; margin-top: 1.5em; }
.cards-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-column-gap: 1.5em; grid-row-gap: 1.5em; margin-top: 1.5em; }
@media screen and (max-width: 991px) { .cards-3 { grid-template-columns: 1fr 1fr; } }
@media screen and (max-width: 767px) { .cards-2, .cards-3 { grid-template-columns: 1fr; } }

/* --- Schritte ("So einfach geht's") --- */
.steps { display: grid; grid-row-gap: 1em; margin-top: 1em; }
.step { background-color: #fff; border-radius: 8px; padding: 1.2em 1.4em; box-shadow: 1px 1px 8px #00a5bc40; display: flex; align-items: flex-start; }
.step-num { flex: none; width: 2.2em; height: 2.2em; margin-right: 1em; border-radius: 50%; background-color: var(--cadet-blue); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step strong { color: var(--dark-text); }

/* --- FAQ --- */
.faq { max-width: 900px; margin-top: 1.5em; }
.faq details { background-color: #fff; border-radius: 8px; padding: 0 1.4em; margin-bottom: .8em; box-shadow: 1px 1px 8px #00a5bc40; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--dark-text); padding: 1em 0; list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 1.1em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cadet-blue); font-size: 1.6em; font-weight: 800; line-height: 1; margin-left: 1em; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding-bottom: 1.2em; }

/* --- Aktuelles / Blog --- */
.blog-card { background-color: #fff; border-radius: 8px; overflow: hidden; box-shadow: 1px 1px 8px #00a5bc80; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: box-shadow .2s ease-in-out; }
.blog-card:hover { box-shadow: 1px 1px 14px #00a5bccc; }
.blog-img { background-position: 50%; background-repeat: no-repeat; background-size: cover; padding-bottom: 56%; }
.blog-img.is-1 { background-image: url("../img/61123e46e9d2e7e20fae04e6_vita-unterst_tzung_teaser.webp"); }
.blog-img.is-2 { background-image: url("../img/611225a6e9c4654f89f371ad_vita-Unterst_tzung.webp"); }
.blog-img.is-3 { background-image: url("../img/61122433fc8b6beec212873c_Hero_Haushaltshilfe.webp"); }
.blog-body { padding: 1.4em; display: flex; flex-direction: column; flex: 1; }
.blog-meta { color: #999; font-size: .8em; letter-spacing: 1px; text-transform: uppercase; margin-bottom: .5em; }
.blog-card h3 { font-size: 1.25em; margin-bottom: .5em; }
.blog-card p { flex: 1; }
.blog-more { color: var(--cadet-blue); font-weight: 700; margin-top: 1em; text-decoration: none; }
.article { max-width: 900px; }
.article .w-richtext h2 { font-size: 1.6em; margin-top: 1.4em; margin-bottom: .4em; }
.article .w-richtext p { margin-bottom: 1em; }
.article .w-richtext ul { padding-left: 1.6em; }
.article .w-richtext blockquote { border-left: 4px solid var(--cadet-blue); background-color: #f5fbfc; padding: 1em 1.4em; margin: 1.4em 0; border-radius: 0 8px 8px 0; font-size: 1em; }
.article-back { display: inline-block; color: var(--cadet-blue); text-decoration: none; font-weight: 700; margin-bottom: 1em; }
.article-back:hover { text-decoration: underline; }
.article-cta { background-color: #f5fbfc; border-radius: 8px; padding: 1.6em; margin-top: 2em; }

/* --- Kontakt: Formular --- */
.contact-wrapper.has-form { grid-template-columns: 1fr 1.5fr; align-items: start; }
@media screen and (max-width: 991px) { .contact-wrapper.has-form { grid-template-columns: 1fr; } }
.contact-form-wrapper { width: 100%; }
.contact-form-wrapper h2 { font-size: 1.8em; margin-bottom: .8em; }
.c-form-lbl { display: block; margin-top: .8em; margin-bottom: .3em; }
.c-form-input { width: 100%; padding: .8em 1em; border: 1px solid #dcdcdc; border-radius: 6px; font-family: inherit; font-size: 1em; color: var(--my-gray); background-color: #fff; box-sizing: border-box; }
.c-form-input:focus { outline: none; border-color: var(--cadet-blue); box-shadow: 0 0 0 2px #00a5bc33; }
textarea.c-form-input { min-height: 8em; resize: vertical; }
.contact-center { justify-self: center; }
.contact-info-wrapper { place-self: start; }
.btn.is-contact { margin-left: 0; margin-top: 1.2em; font-size: 1em; }
@media screen and (max-width: 991px) { .contact-center { justify-self: center; } .contact-info-wrapper { justify-self: center; } }

/* --- Sonstiges --- */
.p.is-white, .h-white { color: var(--white-text); }
.sec.is-light-blue .services-card, .sec.is-light-blue2 .services-card { box-shadow: none; }
.intro-text { max-width: 900px; }
.btn.is-service-primary.is-cadet { border-color: var(--cadet-blue); background-color: var(--cadet-blue); }
.btn.is-service-primary.is-cadet:hover { background-color: #00a5bccc; }
.hero-cta-wrapper { margin-top: .5em; }
.small-note { color: #999; font-size: .85em; }
.region-list { columns: 2; column-gap: 3em; margin-top: 1em; padding-left: 1.4em; }
@media screen and (max-width: 479px) { .region-list { columns: 1; } }
