/* =========================================================================
   /anbindungen/ im 100k-Look (11.10.2026), erzeugt von werkzeuge/anbindungen-bauen.py.
   Laedt nach start-100k.css und unterseite-100k.css. Wolke, Filter und
   Katalog-Karten aus der Katalog-Fassung vom 03.10.2026 (seite-anbindungen.css),
   ohne Dauerschweben und ohne Hover-Bewegung. Eigene Anbindungen als Zeilen
   im dunklen Panel. Anbieter-Logos bleiben echte Logos, eigene Anbindungen
   tragen Glas-Icons.
   ========================================================================= */

/* ---------- Wolke, Filter, Katalog (uebernommen) ------------------------ */
.wolke { position: relative; height: 340px; margin-top: clamp(24px, 3vw, 40px); pointer-events: none; }
.wolke::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 40px;
  width: 900px;
  height: 300px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(108, 43, 242, .07), rgba(108, 43, 242, 0) 100%);
  pointer-events: none;
}
.wolke-reihe { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: flex-start; }
.wolke-hinten { top: 0; gap: 72px; z-index: 1; margin-left: 14px; }
.wolke-mitte  { top: 50px; gap: 58px; z-index: 2; margin-left: -22px; }
.wolke-vorn   { top: 112px; gap: 66px; z-index: 3; }
/* Spiegelung nur fuer die vordere Reihe, sonst scheinen die hinteren durch. */
.wolke-hinten .spiegel, .wolke-mitte .spiegel { display: none; }
.wolke-kachel { position: relative; transform: translateY(calc(var(--dy, 0px) + 28px)); opacity: 0; transition: opacity 700ms var(--ease), transform 900ms var(--ease); transition-delay: calc(var(--i, 0) * 55ms); pointer-events: auto; }
.wolke.ist-da .wolke-kachel { opacity: 1; transform: translateY(var(--dy, 0px)); }
.wolke-schwebt { display: block; }

/* Die Kachel selbst: weiss, 1px Rand, 18px Rundung, Schatten. Beim Hover
   bewegt sich nichts, nur der Schatten wird staerker. */
.kachel {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--rahmen);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(23, 16, 43, .05), 0 14px 28px -16px rgba(23, 16, 43, .35);
  transition: box-shadow var(--t-2) var(--ease);
}
.wolke-kachel:hover .kachel { box-shadow: 0 1px 2px rgba(23, 16, 43, .06), 0 22px 40px -16px rgba(23, 16, 43, .5); }
.kachel img { width: 30px; height: 30px; display: block; }
.kachel-initial { font-family: Outfit, sans-serif; font-weight: 600; font-size: 24px; line-height: 1; letter-spacing: -.02em; color: var(--farbe, var(--accent)); }
.kachel-zeichen { width: 26px; height: 26px; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.wolke-hinten .kachel { width: 48px; height: 48px; border-radius: 14px; opacity: .55; filter: saturate(.7); }
.wolke-hinten .kachel img { width: 22px; height: 22px; }
.wolke-hinten .kachel-initial { font-size: 18px; }
.wolke-hinten .kachel-zeichen { width: 20px; height: 20px; }
.wolke-mitte .kachel { opacity: .85; }
.wolke-vorn .kachel { width: 72px; height: 72px; border-radius: 20px; }
.wolke-vorn .kachel img { width: 34px; height: 34px; }
.wolke-vorn .kachel-initial { font-size: 27px; }
.wolke-vorn .kachel-zeichen { width: 30px; height: 30px; }

/* Spiegelung: gleiche Kachel, vertikal gekippt, nach unten ausblendend. */
.spiegel { position: absolute; left: 0; top: calc(100% + 8px); width: 100%; transform: scaleY(-1); opacity: .25; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, #000 0, transparent 70%); mask-image: linear-gradient(to bottom, #000 0, transparent 70%); }
.spiegel .kachel { box-shadow: none; }
/* Weicher Boden unter der Wolke, damit die Spiegelung in Weiss auslaeuft. */
.wolke::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--paper) 85%); z-index: 4; pointer-events: none; }

/* ---------- 2. Filter und Suche ---------------------------------------- */
.int-filter { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 10px 0; background: var(--paper); }
.int-chips { display: inline-flex; align-items: center; gap: 2px; height: 40px; padding: 4px; border: 1px solid var(--line-mid); border-radius: 10px; background: var(--nebel); }
.int-chips button {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  color: var(--ink-3);
  transition: color var(--t-1) var(--ease), background-color var(--t-1) var(--ease);
}
.int-chips button:hover { color: var(--ink); }
.int-chips button[aria-pressed="true"] { background: var(--paper); color: var(--accent); box-shadow: 0 1px 2px rgba(23, 16, 43, .10); }
.int-suche { position: relative; width: 300px; max-width: 100%; }
.int-suche svg { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--ink-4); pointer-events: none; }
.int-suche input {
  width: 100%;
  height: 40px;
  padding: 0 12px 0 38px;
  border: 1px solid var(--line-mid);
  border-radius: 10px;
  background: var(--paper);
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color var(--t-1) var(--ease), background-color var(--t-1) var(--ease);
}
.int-suche input::placeholder { color: var(--ink-4); }
.int-suche input:hover { background: var(--paper-2); }
.int-suche input:focus { outline: none; border-color: var(--accent); background: var(--paper); }
.int-suche input::-webkit-search-cancel-button { -webkit-appearance: none; }

/* ---------- 3. Katalog-Karten ------------------------------------------- */
.katalog { padding-top: 12px; }
.kat-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.kat-gruppe { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin: 24px 0 2px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); }
.kat-gruppe:first-child { margin-top: 8px; }
.kat-gruppe::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.kat-gruppe small { font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 12.5px; color: var(--ink-4); }
.kat-gruppe[hidden], .kat-karte[hidden] { display: none; }

/* Karte nach tobias.social: 22px Karte mit 8px Innenrand, darin die getoente
   Kopfflaeche in der Markenfarbe (--farbe), 16px Rundung. Hoehe je Reihe
   gleich, weil die Kopfflaeche flex: 1 bekommt und der Link unten steht. */
.kat-karte {
  --farbe: var(--accent);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 8px;
  border: 1px solid var(--line-mid);
  border-radius: 22px;
  background: var(--paper);
  transition: border-color var(--t-2) var(--ease), box-shadow var(--t-2) var(--ease);
}
.kat-karte:hover { border-color: color-mix(in srgb, var(--farbe) 35%, var(--line-mid)); box-shadow: 0 1px 2px rgba(23, 16, 43, .04), 0 18px 36px -24px color-mix(in srgb, var(--farbe) 55%, transparent); }
.kat-kopf {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  padding: 22px 22px 24px;
  border-radius: 16px;
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, color-mix(in srgb, var(--farbe) 24%, transparent) 0, transparent 70%),
    linear-gradient(160deg, color-mix(in srgb, var(--farbe) 9%, #fff) 0%, #fff 75%);
}
.kat-logo {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--farbe) 70%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--farbe) 12%, transparent);
  font-family: Outfit, sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--farbe);
}
.kat-logo img { width: 24px; height: 24px; display: block; }
.kat-logo svg { width: 22px; height: 22px; color: var(--farbe); fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.kat-karte h3 { font-family: Outfit, sans-serif; font-size: 19px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); }
.kat-text { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.kat-link { display: inline-flex; align-items: center; gap: 6px; padding: 14px 14px 10px; font-size: 14px; font-weight: 600; line-height: 1; color: color-mix(in srgb, var(--farbe) 75%, var(--ink)); }
.kat-link svg { width: 15px; height: 15px; transition: transform var(--t-2) var(--ease); }
/* Die Karte ist als Ganzes klickbar: der Link liegt mit ::after ueber ihr. */
.kat-link::after { content: ""; position: absolute; inset: 0; border-radius: 22px; }
.kat-karte:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.kat-link:focus-visible { outline: none; }

/* Stand-Pille oben rechts in der Kopfflaeche, 8px Radius. */
.kat-stand { position: absolute; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 9px; border-radius: 8px; font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap; }
.kat-stand i { display: block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.stand-laeuft { background: color-mix(in srgb, var(--f-telefonie) 12%, var(--paper)); color: var(--f-telefonie); }
.stand-arbeit { background: var(--paper); color: var(--ink-3); border: 1px dashed var(--line-stark); }
.stand-business { background: var(--tint); color: var(--accent); }

/* Gestaffelte Einblendung je Karte: --v ist die Spalte in der Reihe. */
.kat-karte.ein { transition-delay: calc(var(--v, 0) * 70ms); }

.kat-leer { grid-column: 1 / -1; padding: 36px 24px; border: 1px dashed var(--line-stark); border-radius: 20px; text-align: center; font-size: 16px; color: var(--ink-2); }
.kat-leer a { color: var(--accent); font-weight: 600; }
.kat-leer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.kat-leer[hidden] { display: none; }
.kat-fuss { margin-top: 28px; font-size: 13.5px; color: var(--ink-4); text-align: center; }
.kat-fuss a { color: var(--accent); font-weight: 600; }


/* ---------- 100k-Anpassungen ------------------------------------------- */
.u-anbindungen .katalog .u-kopf { margin-bottom: 8px; }
.u-anbindungen .wolke { margin-top: 8px; }
.u-anbindungen .wolke::after { background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--paper) 85%); }
.u-anbindungen .int-filter { position: relative; z-index: 5; }
/* Glas in Kacheln und Logo-Boxen: fest, gleich gross, ohne Bewegung. */
.kachel .kat-glas { width: 36px; height: 36px; object-fit: contain; }
.wolke-hinten .kachel .kat-glas { width: 28px; height: 28px; }
.wolke-vorn .kachel .kat-glas { width: 42px; height: 42px; }
.kat-logo--glas { background: var(--paper); }
.kat-logo .kat-glas { width: 34px; height: 34px; object-fit: contain; display: block; }
.kachel-initial { font-family: Outfit, sans-serif; font-weight: 600; line-height: 1; letter-spacing: -.02em; color: var(--farbe, var(--accent)); }
.kat-logo .kachel-initial { font-size: 20px; }
.kat-karte, .kat-link svg, .kachel { transition-property: border-color, box-shadow, opacity; }

/* Gruppenzeilen ohne Versal-Label: ruhige Zwischenueberschrift. */
.u-anbindungen .kat-gruppe { margin: 32px 0 4px; font-family: Outfit, sans-serif; font-size: 19px; font-weight: 600; letter-spacing: -.01em; text-transform: none; color: var(--ink); }
.u-anbindungen .kat-gruppe:first-child { margin-top: 12px; }
.u-anbindungen .kat-gruppe small { font-family: Manrope, sans-serif; font-size: 14px; font-weight: 500; color: var(--ink-3); }

/* Marke "Ab Paket Business" im dunklen Panel: Inhaltsangabe, 7px Radius wie die Status-Marken. */
.ea-marke { display: inline-flex; align-items: center; height: 28px; margin-bottom: 18px; padding: 0 10px; border-radius: 7px; background: rgba(192, 165, 251, .18); box-shadow: inset 0 0 0 1px rgba(192, 165, 251, .32); font-size: 13.5px; font-weight: 600; line-height: 1; color: #E4D8FF; }

/* Eigene Anbindungen im dunklen Panel: Zeilen mit Glas-Icon in fester Box. */
.ea-zeilen { display: grid; }
.ea-zeile { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 20px; padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.ea-zeile:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ea-glas { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 14px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.ea-glas img { width: 44px; height: 44px; object-fit: contain; }
.ea-zeile h3 { font-family: Outfit, sans-serif; font-size: 20px; font-weight: 600; line-height: 1.3; color: #fff; }
.ea-zeile p { margin-top: 6px; font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, .74); max-width: 58ch; }
.ea-zeile ul { display: grid; gap: 6px; margin-top: 12px; }
.ea-zeile li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .84); }
.ea-zeile li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--accent-soft, #C0A5FB); }

@media (max-width: 1100px) { .kat-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .kat-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wolke { height: 290px; }
  .wolke-hinten { gap: 40px; } .wolke-mitte { gap: 34px; } .wolke-vorn { gap: 40px; }
}
@media (max-width: 620px) {
  .wolke { height: 230px; width: 100vw; margin-inline: calc(50% - 50vw); overflow: hidden; }
  .wolke::before { width: 420px; height: 200px; top: 20px; }
  .wolke-hinten { display: none; }
  .wolke-mitte { top: 8px; gap: 14px; }
  .wolke-vorn { top: 70px; gap: 16px; }
  .wolke-mitte .kachel { width: 48px; height: 48px; border-radius: 14px; }
  .wolke-mitte .kachel img { width: 22px; height: 22px; }
  .wolke-mitte .kachel .kat-glas { width: 30px; height: 30px; }
  .wolke-mitte .kachel-initial { font-size: 18px; }
  .wolke-vorn .kachel { width: 60px; height: 60px; border-radius: 16px; }
  .wolke-vorn .kachel img { width: 28px; height: 28px; }
  .wolke-vorn .kachel-initial { font-size: 22px; }
  .wolke::after { height: 90px; }
  .int-filter { flex-direction: column; align-items: stretch; gap: 10px; }
  .int-chips { width: 100%; height: 48px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .int-chips::-webkit-scrollbar { display: none; }
  .int-chips button { height: 38px; padding: 0 12px; font-size: 14px; }
  .int-suche { width: 100%; }
  .int-suche input { height: 48px; font-size: 16px; }
  .kat-raster { grid-template-columns: 1fr; gap: 12px; }
  .kat-kopf { padding: 20px 18px 20px; }
  .kat-stand { top: 16px; right: 16px; }
  .kat-link { min-height: 44px; padding: 14px; }
  /* Karten am Handy kompakt: Logo links neben dem Namen, Stand oben rechts. */
  .kat-kopf { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; row-gap: 6px; align-items: center; padding: 16px 16px 18px; }
  .kat-logo { margin: 0; grid-row: 1; grid-column: 1; }
  .kat-karte h3 { grid-row: 1; grid-column: 2; padding-right: 88px; font-size: 18px; }
  .kat-text { grid-column: 1 / -1; }
  .kat-stand { top: 26px; right: 16px; }
  .u-anbindungen .kat-gruppe { font-size: 18px; flex-wrap: wrap; row-gap: 2px; }
  .u-anbindungen .kat-gruppe::after { display: none; }
  .u-anbindungen .kat-gruppe small { flex-basis: 100%; }
  .ea-zeile { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding: 22px 0; }
  .ea-glas { width: 52px; height: 52px; border-radius: 12px; }
  .ea-glas img { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .wolke-kachel { transition: none; opacity: 1; transform: translateY(var(--dy, 0px)); }
  .kat-karte, .kachel { transition: none !important; }
  .kat-karte.ein { opacity: 1; transform: none; }
}
