/* HEDwig-Systems promotion: deliberately scoped to this homepage section. */
.hedwig-promo {
  --accent-color: #00858d;
  --heading-color: #18343e;
  --default-color: #37515c;
  background: #f2f7f8;
  padding: 80px 0 56px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hedwig-promo::before { content: ""; position: absolute; z-index: -1; pointer-events: none; width: min(1500px, 150vw); aspect-ratio: 3 / 1; left: 50%; top: 54%; transform: translate(-50%, -50%) rotate(-45deg); background: url("../img/hedwig-systems/background.svg") center / contain no-repeat; opacity: .085; }
.hedwig-intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hedwig-copy { position: relative; isolation: isolate; }
.hedwig-brand { margin-bottom: 36px; }
.hedwig-logo { display: block; width: 280px; max-width: 80%; height: auto; margin-bottom: 10px; filter: drop-shadow(0 4px 5px #18343e26); }
.hedwig-copy .hedwig-tagline { margin: 0; font-size: 12px; line-height: 1.5; color: #37515c; }
.hedwig-eyebrow { color: #00747d; font-size: 12px; font-weight: 700; letter-spacing: 1.6px; margin-bottom: 16px; }
.hedwig-copy h2 { font-size: clamp(36px, 4vw, 56px); font-weight: 800; line-height: 1.12; letter-spacing: -1.5px; margin-bottom: 24px; }
.hedwig-copy p { line-height: 1.7; }
.hedwig-copy .hedwig-lead { font-size: 21px; line-height: 1.55; color: #18343e; margin-bottom: 16px; }
.hedwig-benefits { list-style: none; padding: 0; margin: 24px 0 30px; }
.hedwig-benefits li { display: flex; gap: 12px; align-items: baseline; margin: 12px 0; line-height: 1.5; }
.hedwig-benefits i { color: #00858d; flex: 0 0 auto; }
.hedwig-cta { display: inline-flex; align-items: center; justify-content: center; gap: 22px; background: #00858d; color: #fff; padding: 16px 26px; border-radius: 999px; font-weight: 700; box-shadow: 0 5px 15px #18343e24; }
.hedwig-cta:hover { background: #00666e; color: #fff; transform: translateY(-2px); }
.hedwig-cta:focus-visible { outline: 3px solid #18343e; outline-offset: 5px; }
.hedwig-preview { position: relative; isolation: isolate; margin: 0; padding: 28px 20px; border-radius: 40px; background: transparent; text-align: center; }
.hedwig-receipt-preview { position: absolute; z-index: 0; top: 50%; left: 45%; width: 98%; height: auto; max-width: none; transform: translate(-50%, -50%) rotate(-10deg); opacity: .6; filter: drop-shadow(0 10px 18px #18343e26); pointer-events: none; user-select: none; }
.hedwig-phone { position: relative; z-index: 2; max-width: 245px; margin: 0 auto; padding: 6px; border: 1px solid #c1d9da; border-radius: 28px; background: #fff; box-shadow: 0 18px 36px #18343e26; overflow: hidden; }
.hedwig-phone img { display: block; width: 100%; height: auto; border-radius: 22px; }
.hedwig-preview figcaption { position: relative; z-index: 2; margin-top: 24px; color: #37515c; font-size: 13px; }
.hedwig-components { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.hedwig-component { background: #fff; padding: 28px; border: 1px solid #dce8eb; border-radius: 24px; box-shadow: 0 5px 15px #18343e0d; }
.hedwig-component-icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; background: #d6efee; color: #00747d; border-radius: 16px; font-size: 26px; margin-bottom: 24px; }
.hedwig-step { color: #00747d; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; margin-bottom: 8px; }
.hedwig-component h3 { font-size: 23px; font-weight: 750; margin-bottom: 14px; }
.hedwig-component p:last-child { font-size: 15px; line-height: 1.7; margin: 0; }
.hedwig-compatibility { max-width: 920px; text-align: center; margin: 28px auto 0; font-size: 13px; line-height: 1.7; color: #526d76; }
@media (max-width: 991px) {
  .hedwig-intro { gap: 32px; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .hedwig-components { gap: 16px; }
  .hedwig-component { padding: 22px; }
}
@media (max-width: 767px) {
  .hedwig-promo { padding: 52px 0 40px; }
  .hedwig-intro { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hedwig-brand { margin-bottom: 28px; }
  .hedwig-logo { width: 230px; }
  .hedwig-copy h2 { letter-spacing: -1px; }
  .hedwig-copy .hedwig-lead { font-size: 19px; }
  .hedwig-cta { width: 100%; }
  .hedwig-preview { padding: 28px 20px; }
  .hedwig-phone { max-width: 220px; }
  .hedwig-components { grid-template-columns: minmax(0, 1fr); margin-top: 28px; }
  .hedwig-component-icon { margin-bottom: 18px; }
}
.hedwig-component-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; height: 160px; margin-bottom: 20px; }
.hedwig-component-heading .hedwig-component-icon { flex-shrink: 0; margin-bottom: 0; }
.hedwig-component-photo { display: block; width: 180px; max-width: 60%; height: 160px; object-fit: cover; border-radius: 14px; background: #f2f7f8; box-shadow: 0 5px 14px #18343e26; }
.hedwig-gateway-photo { height: auto; max-height: 160px; object-fit: contain; object-position: center; background: transparent; }
.hedwig-app-photo { object-position: center top; border: 1px solid #dce8eb; }
.hedwig-server-photo { object-position: 18% center; border: 1px solid #dce8eb; }
.hedwig-request { max-width: 920px; margin: 36px auto 0; padding: 32px; border: 1px solid #dce8eb; border-radius: 24px; background: #fff; box-shadow: 0 5px 15px #18343e0d; }
.hedwig-request h3 { font-size: 24px; font-weight: 750; margin-bottom: 12px; }
.hedwig-request label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.hedwig-request-fields { display: flex; align-items: stretch; gap: 16px; }
.hedwig-request-fields input { min-width: 0; flex: 1; width: 100%; padding: 14px 18px; border: 1px solid #c1d9da; border-radius: 16px; background: #f2f7f8; color: #18343e; font: inherit; }
.hedwig-request-fields input:focus-visible { outline: 2px solid #00858d; outline-offset: 2px; }
.hedwig-request-fields button { border: 0; flex-shrink: 0; cursor: pointer; }
.hedwig-request-fields button:disabled { opacity: .65; cursor: wait; transform: none; }
.hedwig-request .hedwig-request-privacy { font-size: 13px; line-height: 1.6; margin: 16px 0 0; color: #526d76; }
.hedwig-request-status { margin: 18px 0 0; padding: 14px 18px; border-radius: 14px; background: #e7f4ed; color: #17684d; }
.hedwig-request-status[data-error="true"] { background: #fbeef0; color: #8c2936; }
.hedwig-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.hedwig-account-security { display: flex; align-items: center; justify-content: center; gap: 18px; max-width: 760px; margin: 28px auto 0; }
.hedwig-account-security img { flex: 0 0 64px; border-radius: 14px; }
.hedwig-account-security p { margin: 0; font-size: 14px; line-height: 1.7; }
@media (max-width: 767px) { .hedwig-request { padding: 24px; } .hedwig-request-fields { flex-direction: column; } .hedwig-account-security { align-items: flex-start; } }
@media (prefers-reduced-motion: reduce) { .hedwig-cta { transition: none; } .hedwig-cta:hover { transform: none; } }

/* Komoot: monochromes Kreissymbol, in Header und Footer einheitlich. */
.header .topbar .social-links .komoot-link,
.footer .social-links .komoot-link {
  color: #d6d6d6;
  transition: color .2s ease;
}
.komoot-link svg { display: block; width: 100%; height: 100%; }
.header .topbar .social-links .komoot-link { width: 18px; height: 18px; }
.footer .social-links .komoot-link { width: 40px; height: 40px; border: 0; }
.header .topbar .social-links .komoot-link:hover,
.header .topbar .social-links .komoot-link:focus-visible,
.footer .social-links .komoot-link:hover,
.footer .social-links .komoot-link:focus-visible { color: #79bf43; }
.komoot-link:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.komoot-link svg { border-radius: 50%; }
.komoot-link:hover svg, .komoot-link:focus-visible svg { background: #fff; }

/* Direkter Einstieg zu HEDwig-Systems im Startbereich. */
.hero .welcome { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.hero .hero-welcome-copy { min-width: 0; }
.hero .hero-hedwig-link { display: flex; flex: 0 0 340px; flex-direction: column; align-items: center; gap: 10px; text-align: center; border-radius: 12px; }
.hero .hero-hedwig-link img { position: static; inset: auto; width: 310px; max-width: 100%; height: auto; object-fit: contain; z-index: auto; filter: drop-shadow(0 3px 4px #0006); transition: filter .2s ease; }
.hero .hero-hedwig-link span { font-size: 13px; line-height: 1.5; color: #fff; }
.hero .hero-hedwig-link:hover img { filter: drop-shadow(0 4px 8px #00858d99); }
.hero .hero-hedwig-link:focus-visible { outline: 2px solid #fff; outline-offset: 8px; }
@media (max-width: 991px) {
 .hero .welcome { flex-direction: column; align-items: flex-start; gap: 28px; }
 .hero .hero-hedwig-link { flex-basis: auto; width: 310px; max-width: 100%; }
}
