/* Startseite: kompakter Einstieg und ein gemeinsames Rechnerergebnis.
   Bewusst separat geladen, damit Unterseiten ihre Gestaltung behalten. */
.home-compact { --header-offset: 88px; }
.home-compact [id] { scroll-margin-top: var(--header-offset); }
.home-compact [hidden] { display: none !important; }
.home-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid #dce6e4; }
.home-header__inner { width: min(1280px, calc(100% - 48px)); margin: auto; min-height: 76px; display: flex; align-items: center; gap: 24px; }
.home-header__brand { display: flex; align-items: center; gap: 10px; margin-right: auto; font-size: 1.1rem; font-weight: 800; }
.home-header__brand img { display: block; width: 44px; height: 44px; }
.home-header a, .home-menu summary { font-weight: 700; }
.home-header__desktop-link, .home-header__service { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; }
.home-header__service { color: #006657; }
.home-header__cta { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 10px 20px; border-radius: 999px; background: #007e6d; color: #fff; font-size: .9rem; }
.home-menu { position: relative; }
.home-menu summary { cursor: pointer; padding: 12px 4px; font-size: .9rem; }
.home-menu__links { position: absolute; right: 0; top: calc(100% + 10px); width: 290px; padding: 12px; border: 1px solid #dce6e4; border-radius: 14px; background: #fff; box-shadow: 0 12px 32px #17114d18; max-height: calc(100dvh - 100px); overflow-y: auto; }
.home-menu__links a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; font-size: .9rem; border-radius: 6px; }
.home-menu__links a:hover { background: #edf7f4; }
.home-menu__links > span { display: block; padding: 14px 12px 4px; font-size: .8rem; color: #505b79; }
.home-compact :is(a, button, summary, input):focus-visible { outline: 3px solid #17114d; outline-offset: 4px; }
.home-compact .golfhero-max { padding: 24px 0 36px; background: #f4f8f6; }
.home-compact .golfhero-max__container { width: min(1280px, calc(100% - 48px)); }
.home-compact .golfhero-max__panel { min-height: 0; border-radius: 24px; box-shadow: none; }
.home-compact .golfhero-max__veil { background: linear-gradient(90deg, #fffffffa 0%, #fffffff2 42%, #ffffff65 70%, #ffffff00 100%); }
.home-compact .golfhero-max__grid { min-height: 0; grid-template-columns: minmax(0, 700px); padding: 40px; align-items: center; }
.home-compact .golfhero-max__content { max-width: 700px; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.home-compact .golfhero-max__title { margin: 0; font-size: clamp(2.4rem, 3.6vw, 3.4rem); line-height: 1.08; letter-spacing: -.035em; }
.home-compact .golfhero-max__lead { margin: 18px 0 0; max-width: 590px; font-size: 1rem; line-height: 1.6; color: #3d4863; }
.home-compact .golfhero-max__benefits { display: grid; gap: 7px; padding: 0; margin: 20px 0; list-style: none; }
.home-compact .golfhero-max__benefits li { display: block; position: relative; min-height: 0; padding: 0 0 0 24px; border: 0; background: none; border-radius: 0; box-shadow: none; color: #17114d; font-size: .94rem; line-height: 1.5; }
.home-compact .golfhero-max__benefits li::before { content: '✓'; position: absolute; left: 0; top: 0; width: auto; height: auto; background: none; border: 0; box-shadow: none; transform: none; color: #007564; }
.home-compact .golfhero-max__trust { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 24px; margin: 0; padding: 12px 0; max-width: 550px; border: 0; border-top: 1px solid #ccdcd7; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.home-compact .golfhero-max__trust::before { content: none; }
.home-compact .golfhero-max__trust-review { display: flex; align-items: center; gap: 10px; text-align: left; }
.home-compact .golfhero-max__trust-stars { color: #777a00; font-size: 1rem; }
.home-compact .golfhero-max__trust-copy strong { font-size: 1rem; line-height: 1.3; }
.home-compact .golfhero-max__trust-copy span { font-size: .8rem; color: #505b79; }
.home-compact .golfhero-max__trust-carrier { display: flex; align-items: center; gap: 8px; min-width: 0; }
.home-compact .golfhero-max__trust-carrier span { font-size: .7rem; color: #505b79; }
.home-compact .golfhero-max__trust-carrier img { width: 76px; height: 51px; object-fit: contain; }
.home-compact .golfhero-max__actions { margin: 10px 0 0; }
.home-compact .golfhero-max__btn { min-height: 50px; padding: 12px 26px; font-size: 1rem; }
.home-compact .golfhero-max__btn--primary, .home-compact .calculator-cta .btn--primary { background: #007e6d; color: #fff; box-shadow: none; }
.home-compact :is(.home-header__cta, .golfhero-max__btn--primary, .calculator-cta .btn--primary):hover { background: #006657; }
.home-compact .golfhero-max__microcopy { margin: 10px 0 0; font-size: .8rem; line-height: 1.4; color: #505b79; }
.home-compact .golfhero-max__text-link { margin: 12px 0 0; min-height: 30px; font-size: .87rem; line-height: 1.5; }
.home-compact .calculator-section { padding: 28px 0 48px; background: #fff; }
.home-compact .calculator-preview { padding: 0; border: 1px solid #d5e2df; border-radius: 24px; background: #fff; box-shadow: none; overflow: visible; }
.home-compact .calculator-preview::before, .home-compact .calculator-preview::after, .home-compact .calculator-result::before, .home-compact .calculator-result::after { content: none; }
.home-compact .calculator-layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: stretch; gap: 0; }
.home-compact .calculator-panel, .home-compact .calculator-result { min-width: 0; padding: 32px; border: 0; border-radius: 24px; box-shadow: none; }
.home-compact .calculator-panel { background: #fff; }
.home-compact .calculator-result { display: block; order: 0; background: #edf6f3; color: #17114d; border-radius: 0 24px 24px 0; overflow: visible; }
.home-compact .calculator-panel h2 { font-size: clamp(1.5rem, 2.1vw, 1.9rem); line-height: 1.15; margin: 0 0 14px; }
.home-compact .calculator-costs__lead { font-size: 1rem; color: #505b79; }
.home-compact .calculator-costs__selection { margin-top: 20px; font-size: .9rem; font-weight: 600; }
.home-compact .player-profiles__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.home-compact .player-profile { min-height: 78px; padding: 16px 8px; align-content: center; text-align: center; border: 2px solid #c7d5d1; border-radius: 12px; background: #fff; box-shadow: none; transition: border-color .15s, background .15s; }
.home-compact .player-profile:hover { transform: none; border-color: #007e6d; background: #f4faf7; }
.home-compact .player-profile.is-active { border-color: #007e6d; background: #e5f3ed; }
.home-compact .player-profile.is-active::after { content: '✓'; position: absolute; top: 5px; right: 7px; padding: 0; background: none; border-radius: 0; color: #006657; font-size: .8rem; font-weight: 800; line-height: 1; }
.home-compact .player-profile .player-profile__sum { margin: 0; font-size: 1.06rem; color: #17114d; gap: 6px; }
.home-compact .player-profile__sum small { font-size: .7rem; color: #505b79; font-weight: 500; }
.home-compact .calculator-help { margin: 14px 0 24px; font-size: .86rem; line-height: 1.5; color: #505b79; }
.home-compact .slider-section { margin-top: 0; }
.home-compact .slider-section > label { margin-bottom: 8px; font-size: .94rem; }
.home-compact .slider-shell { margin-top: 0; padding: 0; gap: 4px; align-content: start; border: 0; background: none; box-shadow: none; }
.home-compact .selected-box { min-height: 0; margin: 0; padding: 0; align-items: flex-start; justify-content: flex-start; border: 0; background: none; box-shadow: none; text-align: left; }
.home-compact .selected-box .label { display: none; }
.home-compact .selected-box .value { font-size: 2rem; line-height: 1.2; }
.home-compact .range-wrap { margin: 4px 0 0; padding: 0; line-height: 0; }
.home-compact #golfValue { min-height: 44px; cursor: pointer; }
.home-compact .scale { margin-top: 0; font-size: .75rem; color: #505b79; }
.home-compact .calculator-value-help { display: inline-flex; align-items: center; min-height: 44px; margin-top: 18px; color: #006657; font-size: .88rem; text-decoration: underline; text-underline-offset: 3px; }
.home-compact .calculator-result__title { margin: 0 0 22px; color: #17114d; font-size: 1.4rem; }
.home-compact .result-main { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.home-compact .calculator-result .result-main .label { color: #505b79; font-size: .88rem; }
.home-compact .result-main .value { font-size: 1.8rem; color: #17114d; }
.home-compact .result-main__hint { color: #505b79; font-size: .8rem; line-height: 1.4; }
.home-compact .result-grid { margin-top: 20px; gap: 16px; padding: 18px 0; border-top: 1px solid #c7d9d2; border-bottom: 1px solid #c7d9d2; }
.home-compact .result-card, .home-compact .result-card.accent { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.home-compact .calculator-result .result-card span { display: block; margin-bottom: 6px; color: #505b79; font-size: .83rem; }
.home-compact .result-card strong { font-size: 2.1rem; }
.home-compact .result-hole-in-one { margin: 18px 0 0; padding: 12px 14px; border: 0; border-left: 3px solid #a2b20c; border-radius: 10px; background: #e5ecc5; box-shadow: none; gap: 6px; }
.home-compact .result-hole-in-one > span { font-size: .74rem; letter-spacing: 0; text-transform: none; }
.home-compact .result-hole-in-one strong { font-size: 1.1rem; line-height: 1.4; }
.home-compact .calculator-result__coverage { margin: 18px 0 0; font-size: .83rem; color: #505b79; line-height: 1.6; }
.home-compact .calculator-cta { display: grid; grid-template-columns: 1fr; gap: 0; margin: 20px 0 0; }
.home-compact .calculator-cta .btn { width: 100%; min-height: 50px; padding: 12px 18px; font-size: 1rem; white-space: normal; text-align: center; }
.home-compact .calculator-panel__microcopy { color: #505b79; font-size: .78rem; font-weight: 500; }
@media (max-width: 1000px) {
  .home-header__inner { gap: 16px; }
  .home-header__desktop-link { display: none; }
  .home-compact .golfhero-max__grid { padding: 32px; grid-template-columns: minmax(0, 610px); }
  .home-compact .calculator-panel, .home-compact .calculator-result { padding: 24px; }
}
@media (max-width: 760px) {
  .home-compact { --header-offset: 120px; }
  .home-header__inner { width: calc(100% - 24px); min-height: 100px; display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; padding: 8px 0; }
  .home-header__brand { grid-row: 1; grid-column: 1 / 3; font-size: 1rem; }
  .home-header__brand img { width: 36px; height: 36px; }
  .home-menu { grid-column: 3; grid-row: 1; justify-self: end; }
  .home-menu summary { min-height: 44px; }
  .home-header__service { grid-column: 1; grid-row: 2; font-size: .84rem; }
  .home-header__cta { grid-column: 2 / 4; grid-row: 2; justify-self: end; min-height: 44px; padding: 10px 18px; font-size: .84rem; }
  .home-menu__links { width: min(310px, calc(100vw - 24px)); top: calc(100% + 4px); max-height: calc(100dvh - 80px); }
  .home-compact .golfhero-max { padding: 12px 0 24px; }
  .home-compact .golfhero-max__container { width: calc(100% - 24px); }
  .home-compact .golfhero-max__panel { border-radius: 18px; }
  .home-compact .golfhero-max__grid { padding: 24px 20px; grid-template-columns: minmax(0, 1fr); }
  .home-compact .golfhero-max__veil { background: #fffffff0; }
  .home-compact .golfhero-max__title { font-size: clamp(1.95rem, 7.8vw, 2.6rem); line-height: 1.08; }
  .home-compact .golfhero-max__lead { margin-top: 16px; font-size: .94rem; line-height: 1.55; }
  .home-compact .golfhero-max__benefits { gap: 8px; margin: 16px 0; }
  .home-compact .golfhero-max__benefits li { font-size: .86rem; padding-left: 22px; }
  .home-compact .golfhero-max__trust { gap: 8px 18px; padding: 8px 0; }
  .home-compact .golfhero-max__trust-review { gap: 8px; }
  .home-compact .golfhero-max__trust-stars { font-size: .9rem; }
  .home-compact .golfhero-max__trust-copy strong { font-size: .92rem; }
  .home-compact .golfhero-max__trust-carrier img { width: 66px; height: 44px; }
  .home-compact .golfhero-max__actions { flex-direction: row; }
  .home-compact .golfhero-max__text-link { min-height: 44px; margin-top: 8px; font-size: .82rem; }
  .home-compact .calculator-section { padding: 8px 0 32px; }
  .home-compact .calculator-layout { display: grid; grid-template-columns: minmax(0, 1fr); }
  .home-compact .calculator-panel { padding: 24px 18px; border-radius: 18px 18px 0 0; }
  .home-compact .calculator-result { display: block; padding: 24px 18px; border-radius: 0 0 18px 18px; }
  .home-compact .calculator-preview { border-radius: 18px; }
  .home-compact .calculator-panel h2 { font-size: 1.5rem; }
  .home-compact .calculator-costs__lead { font-size: .92rem; }
  .home-compact .player-profiles__grid { gap: 6px; }
  .home-compact .player-profile { padding: 14px 3px; min-height: 72px; }
  .home-compact .player-profile .player-profile__sum { font-size: .92rem; }
  .home-compact .player-profile__sum small { font-size: .58rem; }
  .home-compact .result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-compact .result-main .value { font-size: 1.55rem; }
  .home-compact .result-card strong { font-size: 1.8rem; }
  .home-compact .whatsapp-float { min-height: 44px; right: 12px; bottom: 12px; padding: 6px; }
  .home-compact .whatsapp-float__label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .home-compact *, .home-compact *::before, .home-compact *::after { scroll-behavior: auto; transition: none; }
}

/* One coverage overview and a compact personal Hole-in-One benefit. */
.home-compact #leistungen { scroll-margin-top: var(--header-offset, 120px); }
.home-compact .hole-in-one-bonus__card {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: 24px; padding: 24px; border-radius: 18px;
  background: #f3f7ec; border: 1px solid #d9e2cf; box-shadow: none;
}
.home-compact .hole-in-one-bonus__copy h2 { margin: 8px 0 12px; font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.2; }
.home-compact .hole-in-one-bonus__copy p { margin: 0; font-size: .94rem; color: #505b79; }
.home-compact .hole-in-one-bonus__copy .hole-in-one-bonus__distinction { margin-top: 12px; font-size: .87rem; }
.home-compact .hole-in-one-bonus__distinction a { color: #006657; text-decoration: underline; text-underline-offset: 3px; }
.home-compact .hole-in-one-bonus__distinction a:focus-visible { outline: 3px solid #006657; outline-offset: 3px; }
.home-compact .hole-in-one-bonus__visual { min-height: 0; border: 0; border-radius: 12px; box-shadow: none; }
.home-compact .hole-in-one-bonus__visual img { min-height: 0; height: auto; aspect-ratio: 16 / 10; }
@media (max-width: 760px) {
  .home-compact .hole-in-one-bonus__card { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 20px; }
  .home-compact .hole-in-one-bonus__visual img { aspect-ratio: 2 / 1; }
}
