/* ============================================================
   LocalLoop — neue horizontale Navigation
   ------------------------------------------------------------
   Wird in index.html eingehängt. Alle Selektoren sind mit
   .ll- / #ll- gepräfixt, damit nichts mit Framers Styles
   kollidiert. Liegt im DOM NACH #main (ausserhalb von Reacts
   Wurzel), damit die Framer-Runtime es nicht überschreibt.
   ============================================================ */

/* Altes Framer-Header/Burger ausblenden */
.framer-cln9yz {
  display: none !important;
}
/* Alte „Book a call"-CTA oben rechts (cal.com + Avatar + „+") ausblenden,
   damit sie nicht mit der neuen Nav überlappt. */
.framer-18nqo9t-container {
  display: none !important;
}
/* Template-Werbung unten rechts („Effica® Template · from $129") ausblenden. */
.framer-bv12sz-container {
  display: none !important;
}

.ll-nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: 116px;
  padding: 0 30px; /* nur horizontal — vertikal zentriert align-items */
  /* 3-Spalten-Grid: Logo links | Menü zentriert | freie Spalte rechts.
     Dadurch sitzt das Menü exakt in der Mitte, unabhängig von der
     Logo-Breite. */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  z-index: 1000;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  /* Auto-Kontrast: die ganze Bar (heller Inhalt) blendet per
     difference gegen die Seite -> Text/Logo invertiert hell/dunkel. */
  color: #f5f5f5;
  mix-blend-mode: difference;
}
.ll-nav > .ll-brand { justify-self: start; } /* Spalte 1 */
.ll-nav > nav { grid-column: 2; } /* Spalte 2 = Mitte */

/* --- Logo / Wortmarke --- */
.ll-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.ll-logo {
  display: block;
  height: 92px;
  width: auto;
}

/* --- Menü-Liste --- */
.ll-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 34px;
}
.ll-menu > li {
  position: relative;
  margin: 0;
}

.ll-item {
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Letter-Roll-Hover (wie im Original) */
.ll-roll {
  position: relative;
  display: inline-block;
  overflow: hidden;
  height: 1em;
  line-height: 1em;
}
.ll-roll span {
  display: block;
  transition: transform 0.32s cubic-bezier(0.68, 0, 0, 1);
}
.ll-roll span:last-child {
  position: absolute;
  top: 100%;
  left: 0;
}
.ll-item:hover .ll-roll span {
  transform: translateY(-100%);
}

/* Dropdown-Icon: „+" das beim Öffnen zu „×" wird (wie im Original-Burger) */
.ll-plus {
  position: relative;
  display: inline-block;
  width: 11px;
  height: 11px;
  transition: transform 0.25s ease;
}
.ll-plus::before,
.ll-plus::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.ll-plus::before { /* vertikaler Balken */
  top: 0;
  left: 50%;
  width: 1.5px;
  height: 100%;
  transform: translateX(-50%);
}
.ll-plus::after { /* horizontaler Balken */
  left: 0;
  top: 50%;
  width: 100%;
  height: 1.5px;
  transform: translateY(-50%);
}
#ll-angebote-btn[aria-expanded="true"] .ll-plus {
  transform: rotate(45deg); /* + -> × */
}

/* --- Download-Buttons rechts (iOS / Android) ---
   Eigene fixe Ebene (NICHT in der mix-blend-Bar), gleiche Box-Maße wie
   .ll-nav, damit sie auf einer Höhe mit den Menüpunkten sitzt.
   Solide Pill-Buttons wie die Hero-CTAs (dunkel + hell). */
.ll-actions {
  position: fixed;
  top: 0;
  right: 0;
  height: 116px; /* identisch zur .ll-nav, damit Buttons mittig auf einer Höhe sitzen */
  padding: 0 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1003; /* über dem Mobile-Panel (1002), damit der Burger-X klickbar bleibt */
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}

/* App-Store-Badges (identisch zur Homesite .hp-store) */
.ll-store {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 11px 20px 11px 18px;
  border-radius: 14px;
  background: #fff;
  color: rgb(23, 23, 23);
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ll-store svg {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}
.ll-store span {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
  font-family: "Sora", "Geist", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
  text-transform: none;
}
.ll-store small {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
}
.ll-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}
.ll-store--dark {
  background: rgb(23, 23, 23);
  color: #fff;
  border-color: transparent;
}

/* --- Sprachumschalter DE / EN --- */
.ll-lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}
.ll-lang-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  background: transparent;
  color: rgb(23, 23, 23);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 11px;
  border-radius: 9px;
  line-height: 1;
  transition: background 0.18s ease, color 0.18s ease;
}
.ll-lang-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}
.ll-lang-btn[aria-pressed="true"] {
  background: rgb(23, 23, 23);
  color: #fff;
}

/* --- Sprachwahl als Dropdown (nur Home) ---
   Der Container ist nur logische Gruppierung (kein eigener Stacking-Context),
   damit der fixe Trigger — wie .ll-nav — per mix-blend gegen die SEITE
   invertiert (weiss/schwarz je nach Hintergrund). Das Menü ist ein separates
   fixes Element ohne Blend, per JS unter dem Trigger positioniert. */
.ll-lang--dd {
  position: static;
  display: block;
  background: none;
  border: 0;
  padding: 0;
  border-radius: 0;
  gap: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.ll-lang-trigger {
  position: fixed;
  top: 41px;               /* vertikal mittig in der 116px-Nav; right per JS */
  z-index: 1004;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
  background: transparent;
  border: 1px solid currentColor;
  color: #f5f5f5;
  /* Auto-Kontrast wie Logo/Nav: invertiert hell/dunkel je nach Hintergrund */
  mix-blend-mode: difference;
}
.ll-lang-globe { width: 15px; height: 15px; flex: 0 0 auto; }
.ll-lang-caret { width: 11px; height: 11px; flex: 0 0 auto; transition: transform 0.2s ease; }
.ll-lang-trigger[aria-expanded="true"] .ll-lang-caret { transform: rotate(180deg); }

.ll-lang-menu {
  position: fixed;
  top: 0;
  left: 0;                 /* top/left werden beim Öffnen per JS gesetzt */
  z-index: 1005;
  margin: 0;
  list-style: none;
  padding: 8px;
  min-width: 176px;
  background: rgb(23, 23, 23);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  display: none;
}
.ll-lang-menu.is-open { display: block; }
.ll-lang-menu li { margin: 0; }
.ll-lang-opt {
  appearance: none;
  border: 0;
  background: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  color: rgba(245, 245, 245, 0.6);
  padding: 10px 12px;
  border-radius: 9px;
  transition: background 0.15s ease, color 0.15s ease;
}
.ll-lang-opt:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.ll-lang-opt[aria-selected="true"] { color: #fff; }
.ll-lang-ck { width: 15px; height: 15px; flex: 0 0 auto; opacity: 0; }
.ll-lang-opt[aria-selected="true"] .ll-lang-ck { opacity: 1; }

/* Legacy Pill-Buttons (Formulare / CTAs, die noch .ll-btn nutzen) */
.ll-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ll-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}
.ll-btn:hover .ll-roll span {
  transform: translateY(-100%);
}
.ll-btn svg {
  display: block;
  width: 18px;
  height: 18px;
}
.ll-btn--dark {
  background: rgb(23, 23, 23);
  color: #fff;
}
.ll-btn--light {
  background: #fff;
  color: rgb(23, 23, 23);
  border-color: rgba(0, 0, 0, 0.08);
}

/* ============================================================
   DROPDOWN „Angebote" — eigene Ebene, fixes dunkles Panel.
   Werte 1:1 aus dem Original-Menü-Overlay:
     Panel rgb(23,23,23) · Text rgb(245,245,245)
     IBM Plex Mono · 14px · 500 · uppercase
   ============================================================ */
.ll-dropdown {
  position: fixed;
  top: 70px;
  left: 0;
  min-width: 200px;
  background: rgb(23, 23, 23);
  border-radius: 0; /* eckig, wie im Original-Overlay */
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  z-index: 1001;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}
.ll-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.ll-dropdown a {
  color: rgb(245, 245, 245);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0;
  padding: 10px 14px;
  border-radius: 0;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.ll-dropdown a:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ============================================================
   MOBILE-BURGER + Panel (<=860px)
   ------------------------------------------------------------
   Desktop-Menü & -Buttons aus, Burger an. Panel = dunkles
   Vollbild-Overlay mit allen Links + den 2 App-Buttons.
   ============================================================ */
.ll-burger { display: none; }
/* Striche hell — die mix-blend-difference-Leiste (siehe Media-Query) invertiert
   sie automatisch je nach Hintergrund (dunkel auf hell, hell auf dunkel),
   exakt wie Logo & Menü-Text auf dem Desktop. */
.ll-burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #f5f5f5;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.ll-burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.ll-burger.is-open span:nth-child(2) { opacity: 0; }
.ll-burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.ll-mpanel {
  position: fixed;
  inset: 0;
  z-index: 1002;
  background: rgb(23, 23, 23);
  color: rgb(245, 245, 245);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 32px 48px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}
.ll-mpanel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.ll-mpanel-inner { display: flex; flex-direction: column; gap: 2px; }
.ll-mlink,
.ll-mhead {
  color: rgb(245, 245, 245);
  text-decoration: none;
  font-size: clamp(26px, 8vw, 34px);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  padding: 9px 0;
}
.ll-mlink.ll-msub {
  font-size: 16px;
  text-transform: none;
  padding: 6px 0 6px 18px;
  color: rgba(245, 245, 245, 0.6);
}
/* Sprachumschalter im dunklen Mobile-Panel: helle Variante */
.ll-mpanel .ll-lang {
  align-self: flex-start;
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}
.ll-mpanel .ll-lang-btn {
  color: rgba(245, 245, 245, 0.75);
  font-size: 14px;
  padding: 8px 16px;
}
.ll-mpanel .ll-lang-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}
.ll-mpanel .ll-lang-btn[aria-pressed="true"] {
  background: #fff;
  color: rgb(23, 23, 23);
}

/* Dropdown-Sprachwahl im Mobile-Panel: Trigger weg, beide Sprachen als Pills */
.ll-mpanel .ll-lang--dd {
  display: block;
  align-self: flex-start;
  margin-top: 30px;
  background: none;
  border: 0;
  padding: 0;
}
.ll-mpanel .ll-lang--dd .ll-lang-trigger { display: none; }
.ll-mpanel .ll-lang--dd .ll-lang-menu {
  position: static;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  min-width: 0;
  background: none;
  box-shadow: none;
}
.ll-mpanel .ll-lang--dd .ll-lang-opt {
  width: auto;
  padding: 8px 16px;
  border: 1px solid rgba(245, 245, 245, 0.18);
  border-radius: 999px;
  color: rgba(245, 245, 245, 0.75);
  font-size: 14px;
}
.ll-mpanel .ll-lang--dd .ll-lang-opt[aria-selected="true"] {
  background: #fff;
  color: rgb(23, 23, 23);
  border-color: transparent;
}
.ll-mpanel .ll-lang--dd .ll-lang-ck { display: none; }
.ll-mbtns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ll-mbtns .ll-store { flex: 1 1 auto; justify-content: center; }
/* Im dunklen Panel beide Badges hell, damit sie sichtbar sind */
.ll-mpanel .ll-store--dark {
  background: #fff;
  color: rgb(23, 23, 23);
  border-color: transparent;
}

@media (max-width: 860px) {
  .ll-nav > nav { display: none; }       /* zentriertes Menü weg */
  .ll-actions .ll-store { display: none; }  /* Desktop-Store-Badges weg */
  .ll-actions .ll-lang { display: none; }   /* (Alt-Toggle andere Seiten) */
  .ll-lang--dd { display: none; }           /* Body-Trigger weg — Klon steckt im Panel */
  /* Nur noch der Burger in dieser Leiste -> wie .ll-nav per difference
     gegen den Hintergrund invertieren (Auto-Kontrast schwarz/weiss). */
  .ll-actions { mix-blend-mode: difference; }
  .ll-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
  }
  .ll-nav, .ll-actions { height: 92px; } /* Mobile-Bar kompakter als Desktop */
  .ll-logo { height: 64px; } /* Logo auf Mobile etwas kleiner, Slogan noch lesbar */
}

/* ============================================================
   FOOTER-Aufräumung (Framer-Footer auf Home/Über uns/Kontakt)
   ------------------------------------------------------------
   - „Created by …"-Credit entfernen
   - Framer-Logo-Icon im Entwickler-Credit ausblenden
   - Desktop: 3 Spalten -> Copyright sitzt ganz rechts am Rand
   (Mobile bleibt der gestapelte Flex-Footer von Framer unberührt.)
   ============================================================ */
[data-framer-name="Credits"] { display: none !important; }
[data-framer-name="Built in"] svg { display: none !important; }

@media (min-width: 861px) {
  .framer-nbuwcw { grid-template-columns: 1fr 1fr 1fr !important; }
  [data-framer-name="Built in"] { justify-content: center !important; }
}
