/* ====================================================================
   Built for Shopify badge - two HTML instances, exactly one visible per breakpoint.
   - .ccl-bfs-desktop  lives in .navbar_button-wrapper (topbar). Desktop only.
   - .ccl-bfs-mobile   lives in .navbar_menu (drawer) after "Unsere Apps". Mobile only.
   Webflow's data-collapse="medium" collapses the nav at <=991px, so 992px is the cutoff.
   ==================================================================== */

.ccl-bfs-link { align-items: center; text-decoration: none; }
.ccl-bfs { height: 26px; width: auto; display: block; transition: opacity .2s ease, transform .2s ease; }
.ccl-bfs-link:hover .ccl-bfs { opacity: 0.85; transform: translateY(-1px); }

/* DESKTOP (>= 992px): topbar BFS visible, drawer BFS hidden */
@media (min-width: 992px) {
  .ccl-bfs-desktop { display: inline-flex !important; }
  .ccl-bfs-mobile  { display: none !important; }
}

/* MOBILE (<= 991px): topbar BFS hidden, drawer BFS visible full-size + centred */
@media (max-width: 991px) {
  .ccl-bfs-desktop { display: none !important; }
  .ccl-bfs-mobile {
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 1.25rem 0 .5rem;
    width: 100%;
  }
  .ccl-bfs--lg { height: 36px; }
  /* Give the mobile logo back the room the topbar BFS used to steal. */
  .navbar_logo { max-width: 120px !important; }
}

/* Fix Webflow bug: .navbar_link.w--current sets color to black on a black navbar
   -> "Shopify Code" disappears once Webflow auto-marks it as current on scroll-to.
   ONLY apply on desktop. The mobile drawer has a WHITE background where black IS visible -
   forcing white there would re-hide the link. */
@media (min-width: 992px) {
  .navbar .navbar_link.w--current { color: #fff !important; }
  .navbar .navbar_link.w--current:hover { color: #00f5c9 !important; }
}

/* Small overlay layer for our injected app cards section. */
.ccl-apps-section { background: var(--_primitives---colors--white, #fff); }
.ccl-apps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.ccl-app-card {
  display: flex; flex-direction: column; padding: 36px 32px; border-radius: 24px;
  background: var(--_primitives---colors--blue, #1a1e4f); color: var(--_primitives---colors--white, #fff);
  text-decoration: none; gap: 14px; transition: transform .2s ease;
  font-family: var(--_typography---font-styles--body, "DINPro", Verdana, sans-serif);
  cursor: pointer;
}
.ccl-app-card:hover { transform: translateY(-4px); }
/* The whole card is one link; let the parent <a> catch every click so children
   (including the "Zur App ->" span) can't intercept events. */
.ccl-app-card > * { pointer-events: none; }
.ccl-app-tag {
  font-family: var(--_typography---font-styles--heading, "Mantul", Arial, sans-serif);
  color: var(--_primitives---colors--green, #00f5c9); font-size: .8rem;
  letter-spacing: .1em; text-transform: uppercase;
}
.ccl-app-card h3 {
  font-family: var(--_typography---font-styles--heading, "Mantul", Arial, sans-serif);
  color: var(--_primitives---colors--white, #fff); font-size: 1.6rem; line-height: 1.1; margin: 0;
}
.ccl-app-card p { color: rgba(255,255,255,.78); margin: 0; flex-grow: 1; line-height: 1.45; }
.ccl-app-cta {
  font-family: var(--_typography---font-styles--heading, "Mantul", Arial, sans-serif);
  color: var(--_primitives---colors--green, #00f5c9); font-weight: 600;
}
@media (max-width: 991px) { .ccl-apps-grid { grid-template-columns: 1fr; } }

/* ====================================================================
   Legal pages (imprint / privacy / cookies)
   Mirrors flow-* sites: slim container, clean type hierarchy, no marketing chrome.
   ==================================================================== */
.ccl-legal-page {
  background: var(--_primitives---colors--white, #fff);
  padding: clamp(48px, 7vw, 96px) 5% clamp(64px, 9vw, 112px);
}
.ccl-legal-container {
  max-width: 760px;
  margin: 0 auto;
}
.ccl-legal {
  font-family: var(--_typography---font-styles--body, "DINPro", Verdana, sans-serif);
  color: var(--_primitives---colors--neutral-darkest, #0d0d12);
  line-height: 1.7;
  font-size: 1rem;
}
.ccl-legal h1 {
  font-family: var(--_typography---font-styles--heading, "Mantul", Arial, sans-serif);
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  color: var(--_primitives---colors--blue, #1a1e4f);
  margin: 0 0 .75rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.ccl-legal h2 {
  font-family: var(--_typography---font-styles--heading, "Mantul", Arial, sans-serif);
  font-size: 1.4rem;
  color: var(--_primitives---colors--blue, #1a1e4f);
  margin: 2.5rem 0 .75rem;
  letter-spacing: -0.005em;
}
.ccl-legal h3 {
  font-family: var(--_typography---font-styles--heading, "Mantul", Arial, sans-serif);
  font-size: 1.1rem;
  color: var(--_primitives---colors--blue, #1a1e4f);
  margin: 1.75rem 0 .5rem;
}
.ccl-legal p, .ccl-legal li { margin: 0 0 1rem; }
.ccl-legal ul { padding-left: 1.25rem; margin: 0 0 1.5rem; }
.ccl-legal li { margin-bottom: .4rem; }
.ccl-legal a {
  color: var(--_primitives---colors--blue, #1a1e4f);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ccl-legal a:hover { color: var(--_primitives---colors--green, #00f5c9); }
.ccl-legal strong { font-weight: 700; color: var(--_primitives---colors--blue, #1a1e4f); }
.ccl-legal .date {
  color: #6b6b78;
  font-size: .9rem;
  margin: -.25rem 0 2.5rem;
}
.ccl-legal code {
  background: var(--_primitives---colors--beige, #f2f2e4);
  padding: .15rem .4rem;
  border-radius: 4px;
  font-size: .9em;
  font-family: ui-monospace, SFMono-Regular, monospace;
}

/* ====================================================================
   Language switcher (flag pills) - sits at the top of the footer-bottom area
   ==================================================================== */
.ccl-lang-switcher {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 0 0 24px;
}
.ccl-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.65);
  font-family: var(--_typography---font-styles--heading, "Mantul", Arial, sans-serif);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.ccl-flag:hover {
  border-color: var(--_primitives---colors--green, #00f5c9);
  color: var(--_primitives---colors--green, #00f5c9);
}
.ccl-flag-active {
  background: var(--_primitives---colors--green, #00f5c9);
  color: var(--_primitives---colors--blue, #1a1e4f) !important;
  border-color: var(--_primitives---colors--green, #00f5c9);
  pointer-events: none;
}
.ccl-flag-img {
  display: inline-block;
  width: 20px;
  height: 14px;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}
/* German flag: black / red / gold horizontal stripes */
.ccl-flag-de {
  background:
    linear-gradient(to bottom,
      #000 0 33.33%,
      #DD0000 33.33% 66.66%,
      #FFCE00 66.66% 100%);
}
/* US flag: red/white stripes + blue canton */
.ccl-flag-us {
  background:
    linear-gradient(to right, #3C3B6E 0 40%, transparent 40%),
    repeating-linear-gradient(
      to bottom,
      #B22234 0 1px,
      #B22234 calc(100% / 13),
      #FFF calc(100% / 13),
      #FFF calc(2 * 100% / 13));
  background-color: #B22234;
}

/* The blue canton needs to cover the top portion only; layer a div via ::before on the img span */
.ccl-flag-us {
  position: relative;
  background:
    repeating-linear-gradient(
      to bottom,
      #B22234 0,
      #B22234 calc(100% / 13),
      #FFF calc(100% / 13),
      #FFF calc(2 * 100% / 13));
}
.ccl-flag-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 53.85%; /* 7 stripes worth */
  background: #3C3B6E;
}

/* Desktop BFS sizing - bigger than the default 26px so it sits with more presence
   next to the hamburger and visually matches the floating Shopify App Store badge. */
.ccl-bfs-desktop .ccl-bfs { height: 36px; }
