/* KRP footer and mobile bottom navigation 3.2 */
.krp-ui-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }

.krp-footer.krp-footer-compact {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 6vw, 84px) 24px 38px;
  color: #fff;
  background: #999999;
}

.krp-footer-compact *, .krp-footer-compact *::before, .krp-footer-compact *::after,
.krp-bottom-nav *, .krp-bottom-nav *::before, .krp-bottom-nav *::after { box-sizing: border-box; }

.krp-footer-compact__inner { width: min(100%, 1050px); margin-inline: auto; text-align: center; }
.krp-footer-compact__icons { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(18px, 3.2vw, 44px); }
.krp-footer-compact__icons a {
  display: grid;
  width: clamp(58px, 6vw, 78px);
  aspect-ratio: 1;
  place-items: center;
  padding: 0 !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.48) !important;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  text-decoration: none !important;
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease, transform 220ms ease;
}
.krp-footer-compact__icons svg { width: 44%; height: 44%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

@media (hover: hover) and (pointer: fine) {
  .krp-footer-compact__icons a:hover { transform: translateY(-6px); border-color: transparent !important; }
  .krp-footer-compact__icons a:nth-child(1):hover { background: #0070B7; }
  .krp-footer-compact__icons a:nth-child(2):hover { color: #555 !important; background: #FBC300; }
  .krp-footer-compact__icons a:nth-child(3):hover { background: #79B41D; }
  .krp-footer-compact__icons a:nth-child(4):hover { background: #DB005D; }
  .krp-footer-compact__icons a:nth-child(5):hover { background: #0070B7; }
}
.krp-footer-compact__icons a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

.krp-footer-compact__seo { display: flex; justify-content: center; flex-wrap: wrap; row-gap: 13px; margin: clamp(46px, 5vw, 70px) auto 0; }
.krp-footer-compact__seo a {
  position: relative;
  padding: 0 clamp(14px, 2vw, 24px) !important;
  color: #fff !important;
  font-size: clamp(17px, 1.65vw, 22px) !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  text-decoration: none !important;
}
.krp-footer-compact__seo a + a::before { position: absolute; top: .18em; bottom: .18em; left: 0; width: 1px; background: rgba(255,255,255,.38); content: ""; }
.krp-footer-compact__seo a:hover, .krp-footer-compact__seo a:focus-visible,
.krp-footer-compact__legal a:hover, .krp-footer-compact__legal a:focus-visible { text-decoration: underline !important; text-underline-offset: 5px; }

.krp-footer-compact__legal { display: flex; justify-content: center; gap: 22px; margin-top: clamp(44px, 5vw, 66px); }
.krp-footer-compact__legal a { padding: 0 !important; color: rgba(255,255,255,.92) !important; font-size: 15px !important; font-weight: 500 !important; text-decoration: none !important; }
.krp-footer-compact__copyright { margin: 18px 0 0; color: rgba(255,255,255,.62) !important; font-size: clamp(13px, 1.1vw, 16px) !important; line-height: 1.5 !important; }

.krp-bottom-nav { display: none; }

@media (max-width: 47.99rem) {
  .krp-site { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
  .krp-footer.krp-footer-compact { padding: 48px 20px 36px; }
  .krp-footer-compact__icons { flex-wrap: nowrap; gap: clamp(10px, 3.4vw, 18px); }
  .krp-footer-compact__icons a { width: clamp(48px, 14vw, 58px); }
  .krp-footer-compact__seo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 20px; margin-top: 42px; }
  .krp-footer-compact__seo a { padding: 0 !important; font-size: 16px !important; line-height: 1.35 !important; }
  .krp-footer-compact__seo a + a::before { display: none; }
  .krp-footer-compact__legal { margin-top: 40px; }

  .krp-bottom-nav {
    position: fixed;
    z-index: 1000;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 12px;
    display: block;
    width: min(calc(100% - 24px), 430px);
    margin-inline: auto;
    font-family: Roboto, Arial, sans-serif;
  }
  .krp-bottom-nav__bar {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: 68px;
    padding: 5px 10px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 27px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 12px 36px rgba(35,42,49,.22);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
  .krp-bottom-nav__item {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 56px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin: 0;
    padding: 4px 6px !important;
    color: #777 !important;
    border: 0 !important;
    border-radius: 20px;
    background: transparent !important;
    font: inherit;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
    transition: color 180ms ease, transform 180ms ease;
  }
  .krp-bottom-nav__item > svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 260ms cubic-bezier(.2,.8,.2,1); }
  .krp-bottom-nav__item:active { transform: scale(.94); }
  .krp-bottom-nav__item[aria-current="page"], .krp-bottom-nav__item[aria-expanded="true"] { color: #0070B7 !important; }
  .krp-bottom-nav__item[aria-expanded="true"] > svg { transform: translateY(-2px) scale(1.12); }

  .krp-bottom-nav__item--phone {
    z-index: 1;
    width: 72px;
    min-height: 72px;
    justify-self: center;
    align-self: end;
    margin-top: -22px;
    color: #fff !important;
    border: 5px solid #fff !important;
    border-radius: 50%;
    background: #0070B7 !important;
    box-shadow: 0 8px 24px rgba(0,112,183,.32);
  }
  .krp-bottom-nav__item--phone > span:last-child { font-size: 10px; }
  .krp-bottom-nav__item--phone[aria-expanded="true"] { color: #fff !important; background: #DB005D !important; }
  .krp-bottom-nav__pulse { position: absolute; z-index: -1; inset: -5px; border: 2px solid rgba(0,112,183,.32); border-radius: 50%; pointer-events: none; animation: krp-bottom-pulse 2.8s ease-out infinite; }

  .krp-bottom-nav__panel {
    position: absolute;
    z-index: 1;
    right: 6px;
    bottom: calc(100% + 12px);
    left: 6px;
    padding: 16px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 22px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 12px 38px rgba(35,42,49,.24);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(.96);
    transform-origin: 50% 100%;
    pointer-events: none;
    transition: opacity 240ms ease, visibility 240ms ease, transform 300ms cubic-bezier(.2,.8,.2,1);
  }
  .krp-bottom-nav__panel[aria-hidden="false"] { opacity: 1; visibility: visible; transform: translateY(0) scale(1); pointer-events: auto; }
  .krp-bottom-nav__panel > p { margin: 0 0 12px; color: #777 !important; font-size: 14px !important; font-weight: 700 !important; line-height: 1.3 !important; text-align: center; }
  .krp-bottom-nav__locations { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .krp-bottom-nav__locations a { display: flex; min-width: 0; min-height: 60px; flex-direction: column; justify-content: center; padding: 9px 13px !important; color: #fff !important; border: 0 !important; border-radius: 16px; text-decoration: none !important; transition: transform 180ms ease, filter 180ms ease; }
  .krp-bottom-nav__locations a:active { transform: scale(.96); }
  .krp-bottom-nav__locations .is-luechow { background: #0070B7; }
  .krp-bottom-nav__locations .is-wieren { background: #79B41D; }
  .krp-bottom-nav__locations strong { color: inherit !important; font-size: 15px; line-height: 1.2; }
  .krp-bottom-nav__locations span { margin-top: 2px; color: inherit !important; font-size: 12px; line-height: 1.25; }

  @keyframes krp-bottom-pulse {
    0%, 50% { opacity: 0; transform: scale(.94); }
    65% { opacity: .7; }
    100% { opacity: 0; transform: scale(1.35); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .krp-footer-compact__icons a, .krp-bottom-nav__item, .krp-bottom-nav__item > svg,
  .krp-bottom-nav__panel, .krp-bottom-nav__locations a { transition: none !important; }
  .krp-bottom-nav__pulse { animation: none !important; }
}

@media print { .krp-bottom-nav { display: none !important; } }
