/* Ergänzungen: Social Media, WhatsApp und JahnClub. Bestehendes Layout unverändert. */
.social-icon { width: 22px; height: 22px; flex: 0 0 22px; fill: currentColor; }
.social-icon path.line { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.social-facebook .social-icon { color: #1877f2; }
.social-whatsapp .social-icon { color: #138c4b; }
.social-instagram .social-icon { color: #c13584; }
.social-linkedin .social-icon { color: #0a66c2; }

.connect-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 2rem; row-gap: .8rem; }
.connect-grid > .eyebrow { grid-column: 1 / -1; grid-row: 1; margin-bottom: 0; }
.connect-grid > h2 { grid-column: 1; grid-row: 2; align-self: center; }
.connect-grid > p { grid-column: 1 / -1; grid-row: 3; color: var(--ink-soft); }
.connect-links { grid-column: 2; grid-row: 2; display: flex; align-items: center; justify-content: flex-end; gap: .65rem; align-self: center; justify-self: end; }
.connect-links .social-link { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; text-decoration: none; border-radius: var(--radius); transition: transform .2s; }
.connect-links .social-link:hover { transform: translateY(-2px); }
.connect-links .social-icon { width: 46px; height: 46px; flex-basis: 46px; }

.footer-social { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; width: 100%; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.14); }
.footer-social a { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; }
.footer-social .social-icon { width: 19px; height: 19px; flex-basis: 19px; }
.footer-social .social-facebook .social-icon { color: #66a9ff; }
.footer-social .social-whatsapp .social-icon { color: #4cdb8c; }
.footer-social .social-instagram .social-icon { color: #f17bbb; }
.footer-social .social-linkedin .social-icon { color: #65b7f3; }

.whatsapp-float { position: fixed; right: 1.25rem; bottom: 3.5rem; z-index: 45; display: flex; align-items: center; gap: .65rem; padding: .8rem 1rem; background: #176640; color: #fff; text-decoration: none; font-weight: 600; border: 1px solid rgba(255,255,255,.32); border-radius: 40px; box-shadow: 0 5px 25px rgba(6,29,37,.19); }
.whatsapp-float .social-icon { color: #fff; }
.whatsapp-float:hover { background: #104e30; }
body:has(.itx-consent-banner) .whatsapp-float { visibility: hidden; }

.jahnclub-partnership { align-items: center; }
.jahnclub-logo { text-decoration: none; align-items: center; gap: 1.3rem; }
.jahnclub-logo img { width: 100%; max-width: 400px; height: auto; }
.jahnclub-logo span { font-weight: 600; font-size: .95rem; color: var(--signal-dark); }

@media (max-width: 760px) {
  .connect-grid { grid-template-columns: minmax(0, 1fr); }
  .connect-links { grid-column: 1; grid-row: 4; }
}
@media (max-width: 560px) {
  .whatsapp-float { right: 1rem; padding: .9rem; }
  .whatsapp-float > span { display: none; }
}

/* Gut lesbare klassische Form für sichtbare Und-Zeichen. */
.ampersand { font-family: Arial, Helvetica, sans-serif; font-weight: inherit; }

/* Kompaktere Leistungskarten auf der Startseite. */
.card.pillar { padding: 1.35rem 1.5rem; }
.card.pillar.software { padding-top: calc(1.35rem + 4px); }
.card.pillar p, .card.pillar ul { line-height: 1.5; }
.card.pillar ul { margin: .75rem 0 .6rem 1.1rem; }
.card.pillar ul li { margin-bottom: .2rem; }
.card.pillar .more { padding-top: .35rem; }

/* Gleichmäßige Zeilen in den oberen Infokästen aller Leistungsseiten. */
.protocol ul { display: grid; grid-auto-rows: 1fr; padding: 0; }
.protocol li { display: flex; align-items: center; min-height: 4rem; padding: .65rem 1.2rem; line-height: 1.45; }
.protocol-text { display: block; min-width: 0; overflow-wrap: anywhere; }

/* Einheitliche kompakte Kontaktangebote auf allen Seiten. */
.contact-box { padding: 1.1rem 1.25rem; }
.contact-box h3 { margin-bottom: .45rem; }
.contact-box p { font-size: 1rem; line-height: 1.45; }
.contact-box .btn { margin-top: .75rem; padding: .6rem 1rem; font-size: .92rem; min-height: 44px; }
.contact-box + .contact-box { margin-top: .8rem; }

/* Einheitliche Kartenhöhen auch über mehrere Rasterreihen. */
.equal-cards { grid-auto-rows: 1fr; }
.equal-cards > .card { height: 100%; min-width: 0; }
.equal-cards > .card > .more,
.equal-cards > .card > .btn { margin-top: auto; }
.equal-cards > .card > p:has(+ .btn) { margin-bottom: 1.2rem; }
@media (max-width: 900px) {
  .grid-3.equal-cards { grid-auto-rows: auto; }
}
@media (max-width: 760px) {
  .grid-2.equal-cards { grid-auto-rows: auto; }
}

/* Kompakte Download-Karten mit gleichmäßig ausgerichteten Buttons. */
.downloads.equal-cards { gap: 1rem; }
.downloads > .card { padding: 1.1rem 1.25rem; }
.downloads > .card > h3 { margin-bottom: .4rem; }
.downloads.equal-cards > .card > p { margin-bottom: .75rem; line-height: 1.45; }
.downloads > .card > .btn { padding: .6rem 1rem; font-size: .92rem; min-height: 44px; }

/* Mobile Bedienung: kurze Bildschirme, lange Texte und große Schrift. */
main { overflow-wrap: anywhere; }
.grid-2 > *, .grid-3 > *, .trust-grid > *, .contact-grid > *, .audience > * { min-width: 0; }
.card > *, .contact-box > * { min-width: 0; max-width: 100%; }
.skip-link { max-width: calc(100% - 32px); overflow-wrap: anywhere; }
.btn { max-width: 100%; overflow-wrap: anywhere; text-align: center; }
.card h3, .contact-box h3, .prose, .footer-logo address { overflow-wrap: anywhere; }
.footer-inner { padding-inline: 24px; }
.portrait-dialog { overflow-y: auto; max-height: 92dvh; }
.portrait-dialog-close { width: 44px; height: 44px; }
.itx-consent-banner { max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem); overflow-y: auto; overscroll-behavior: contain; }

@media (max-width: 1060px) {
  .main-nav { max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; }
  .main-nav a { white-space: normal; overflow-wrap: anywhere; }
  .nav-toggle { flex-shrink: 0; }
}

@media (max-width: 700px) {
  .container.footer-inner { padding: 2rem 26px; }
  .container.prose { padding: 2.5rem 26px 3rem; }
  .contact-list li { flex-wrap: wrap; align-items: center; gap: .2rem .75rem; }
  .contact-list a { display: inline-flex; align-items: center; min-height: 44px; min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
  .footer-nav { align-items: center; gap: .25rem 1.1rem; }
  .footer-nav a, .card .more { display: inline-flex; align-items: center; min-height: 44px; }
  .connect-links { max-width: 100%; flex-wrap: wrap; gap: clamp(.25rem, 2vw, .65rem); }
  .connect-links .social-link { flex: 0 0 56px; }
  .itx-consent-settings { position: static; display: block; width: 100%; min-height: 44px; padding: .75rem 4.5rem .75rem 1.25rem; border-radius: 0; opacity: 1; }
  .whatsapp-float { bottom: calc(1rem + env(safe-area-inset-bottom)); }
}

@media (hover: none) {
  .card:hover, .case:hover, .pain:hover, .btn-primary:hover { transform: none; }
}

/* Sichtbare Seitenhierarchie, passend zu BreadcrumbList. */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0 0 1rem; padding: 0; font-size: .9rem; }
.breadcrumbs li { display: flex; align-items: center; gap: .5rem; min-width: 0; overflow-wrap: anywhere; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: .2em; }
